diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-09 13:02:19 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-09 13:02:19 +0100 |
commit | 3e57b29267a8cf0e2ff72711e1ce06432961dcdf (patch) | |
tree | 9fb70cea10e732ae2def693e3e8030f2376ac096 /ui | |
parent | 8033cf4a5a33ce65a836e36754ee28da671a3f0c (diff) | |
download | jquery-ui-3e57b29267a8cf0e2ff72711e1ce06432961dcdf.tar.gz jquery-ui-3e57b29267a8cf0e2ff72711e1ce06432961dcdf.zip |
JSCS config: Set requireSpaceBeforeBinaryOperators, fix occurences
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.mouse.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/jquery.ui.mouse.js b/ui/jquery.ui.mouse.js index 36b9f2ba0..ce1ecca72 100644 --- a/ui/jquery.ui.mouse.js +++ b/ui/jquery.ui.mouse.js @@ -29,10 +29,10 @@ $.widget("ui.mouse", { var that = this; this.element - .bind("mousedown."+this.widgetName, function(event) { + .bind("mousedown." + this.widgetName, function(event) { return that._mouseDown(event); }) - .bind("click."+this.widgetName, function(event) { + .bind("click." + this.widgetName, function(event) { if (true === $.data(event.target, that.widgetName + ".preventClickEvent")) { $.removeData(event.target, that.widgetName + ".preventClickEvent"); event.stopImmediatePropagation(); @@ -46,11 +46,11 @@ $.widget("ui.mouse", { // TODO: make sure destroying one instance of mouse doesn't mess with // other instances of mouse _mouseDestroy: function() { - this.element.unbind("."+this.widgetName); + this.element.unbind("." + this.widgetName); if ( this._mouseMoveDelegate ) { this.document - .unbind("mousemove."+this.widgetName, this._mouseMoveDelegate) - .unbind("mouseup."+this.widgetName, this._mouseUpDelegate); + .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate) + .unbind("mouseup." + this.widgetName, this._mouseUpDelegate); } }, |