From ad3fd31b44d9f76eb5a3b657f523c4d26930725a Mon Sep 17 00:00:00 2001 From: Chi Cheng Date: Sat, 23 Aug 2008 02:38:28 +0000 Subject: [PATCH] JSLint check --- ui/ui.progressbar.js | 2 +- ui/ui.spinner.js | 4 ++-- 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; }