[Commits] r1661 - sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form
commits at geoext.org
commits at geoext.org
Thu Jan 7 23:01:14 CET 2010
Author: cmoullet
Date: 2010-01-07 23:01:14 +0100 (Thu, 07 Jan 2010)
New Revision: 1661
Modified:
sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js
Log:
jslintification
Modified: sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js
===================================================================
--- sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js 2010-01-07 21:59:14 UTC (rev 1660)
+++ sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js 2010-01-07 22:01:14 UTC (rev 1661)
@@ -97,7 +97,9 @@
scale = scale.items[0];
this.setValue("1 : " + scale.data.formattedScale);
} else {
- if (!this.rendered) return;
+ if (!this.rendered) {
+ return;
+ }
this.clearValue();
}
},
@@ -108,7 +110,7 @@
* :param separator: ``String`` thousand separator
*/
addThousandSeparator: function(value, separator) {
- if (separator == null) {
+ if (separator === null) {
return value;
}
value = value.toString();
More information about the Commits
mailing list