aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorChi Cheng <cloudream@gmail.com>2008-08-23 02:38:28 +0000
committerChi Cheng <cloudream@gmail.com>2008-08-23 02:38:28 +0000
commitad3fd31b44d9f76eb5a3b657f523c4d26930725a (patch)
tree496abe1a873bc8eef9a68f1cfc9ce64c82337112 /ui
parent61300fe053aec8bfc05b4514ee763f792245aec0 (diff)
downloadjquery-ui-ad3fd31b44d9f76eb5a3b657f523c4d26930725a.tar.gz
jquery-ui-ad3fd31b44d9f76eb5a3b657f523c4d26930725a.zip
JSLint check
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.progressbar.js2
-rw-r--r--ui/ui.spinner.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/ui.progressbar.js b/ui/ui.progressbar.js
index 0f17dfa5f..755cbe40a 100644
--- a/ui/ui.progressbar.js
+++ b/ui/ui.progressbar.js
@@ -95,7 +95,7 @@ $.widget("ui.progressbar", {
if (this.disabled) {
return;
- };
+ }
self.active = true;
diff --git a/ui/ui.spinner.js b/ui/ui.spinner.js
index 37e98acdb..99b5eae89 100644
--- a/ui/ui.spinner.js
+++ b/ui/ui.spinner.js
@@ -121,7 +121,7 @@ $.widget('ui.spinner', {
self._propagate('change', e);
})
.bind('blur.spinner', function(e) {
- self._cleanUp()
+ self._cleanUp();
});
if ($.fn.mousewheel) {
@@ -274,7 +274,7 @@ $.extend($.ui.spinner, {
s = s + ((s.toString().indexOf('.') == -1) ? '.' : '') + '0000000001';
s = s.substr(0, s.indexOf('.')+1+dec);
} else {
- var s = Math.round(s);
+ s = Math.round(s);
}
return s;
}