diff options
author | Richard Worth <rdworth@gmail.com> | 2008-09-20 03:23:42 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-09-20 03:23:42 +0000 |
commit | a522291a7b8a4f44c4d6cf0f1d146eab172bc0c9 (patch) | |
tree | 0fc8ca5d5e0dc3de309ce1d32d854556387949dd /ui/ui.slider.js | |
parent | 0bae0870d920842f10322763c66bc59541b9158c (diff) | |
download | jquery-ui-a522291a7b8a4f44c4d6cf0f1d146eab172bc0c9.tar.gz jquery-ui-a522291a7b8a4f44c4d6cf0f1d146eab172bc0c9.zip |
whitespace: Removed trailing whitespace from non-blank lines
Diffstat (limited to 'ui/ui.slider.js')
-rw-r--r-- | ui/ui.slider.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index af4c5de6e..ce81a7f51 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -135,7 +135,7 @@ $.widget("ui.slider", { _initBoundaries: function() { var element = this.element[0], o = this.options; - this.actualSize = { width: this.element.outerWidth() , height: this.element.outerHeight() }; + this.actualSize = { width: this.element.outerWidth() , height: this.element.outerHeight() }; $.extend(o, { axis: o.axis || (element.offsetWidth < element.offsetHeight ? 'vertical' : 'horizontal'), @@ -283,7 +283,7 @@ $.widget("ui.slider", { return value; }, _handleSize: function(handle,axis) { - return $(handle != undefined && handle !== null ? this.handle[handle] : this.currentHandle)[0]["offset"+(axis == "x" ? "Width" : "Height")]; + return $(handle != undefined && handle !== null ? this.handle[handle] : this.currentHandle)[0]["offset"+(axis == "x" ? "Width" : "Height")]; }, _oneStep: function(axis) { return this.options.stepping[axis] || 1; @@ -302,7 +302,7 @@ $.widget("ui.slider", { // This is a especially ugly fix for strange blur events happening on mousemove events if (!this.currentHandle) - this._focus(this.previousHandle, true); + this._focus(this.previousHandle, true); this.offset = this.element.offset(); @@ -336,12 +336,12 @@ $.widget("ui.slider", { if (o.stepping.x) { var value = this._convertValue(position.left, "x"); value = Math.round(value / o.stepping.x) * o.stepping.x; - position.left = this._translateValue(value, "x"); + position.left = this._translateValue(value, "x"); } if (o.stepping.y) { var value = this._convertValue(position.top, "y"); value = Math.round(value / o.stepping.y) * o.stepping.y; - position.top = this._translateValue(value, "y"); + position.top = this._translateValue(value, "y"); } position.left = this._translateRange(position.left, "x"); @@ -371,7 +371,7 @@ $.widget("ui.slider", { //If no handle has been passed, no current handle is available and we have multiple handles, return false if (handle == undefined && !this.currentHandle && this.handle.length != 1) - return false; + return false; //If only one handle is available, use it if (handle == undefined && !this.currentHandle) |