diff options
author | ayvis <ayvis.infra@gmail.com> | 2014-03-26 00:25:32 +0100 |
---|---|---|
committer | ayvis <ayvis.infra@gmail.com> | 2014-03-26 00:25:32 +0100 |
commit | 354ecfbc9eb6c90fb493984fb17b1ca81d9ea343 (patch) | |
tree | f5fb4ea9d21292f50fccda74328a467141543902 /usr/local/www/javascript/numericupdown | |
parent | 07130afe2b5dd906d9f9b39585c355a07af006f9 (diff) | |
download | pfsense-354ecfbc9eb6c90fb493984fb17b1ca81d9ea343.zip pfsense-354ecfbc9eb6c90fb493984fb17b1ca81d9ea343.tar.gz |
javascript normalization
Diffstat (limited to 'usr/local/www/javascript/numericupdown')
-rw-r--r-- | usr/local/www/javascript/numericupdown/js/numericupdown.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/javascript/numericupdown/js/numericupdown.js b/usr/local/www/javascript/numericupdown/js/numericupdown.js index 05e3281..a6af0d4 100644 --- a/usr/local/www/javascript/numericupdown/js/numericupdown.js +++ b/usr/local/www/javascript/numericupdown/js/numericupdown.js @@ -21,7 +21,7 @@ function removeEvent(obj, evType, fn, useCapture){ return false; } -if(!String.prototype.trim) String.prototype.trim = function() { return this.replace(/^\s*/,'').replace(/\s*$/, ''); } +if(!String.prototype.trim) String.prototype.trim = function() { return this.replace(/^\s*/,'').replace(/\s*$/, ''); }; var incrementalInputController; @@ -183,7 +183,7 @@ function incrementalInput(inp, range, increment, classInc, classDec) { self._timer.setPauseTime(self._timerInc); if(!stop) self._timer.start(); - } + }; this.construct = function() { var h = self._inp.offsetHeight; @@ -226,7 +226,7 @@ function incrementalInput(inp, range, increment, classInc, classDec) { var self = this; - self._timer.ontimer = function() { self.updateValue(); } + self._timer.ontimer = function() { self.updateValue(); }; self.construct(); } @@ -279,7 +279,7 @@ incremetalInputController = { } } } -} +}; // Close and call anonymous function })(); |