]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget: Get rid of `var self`
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 12 Sep 2011 21:40:45 +0000 (23:40 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 12 Sep 2011 21:41:01 +0000 (23:41 +0200)
ui/jquery.ui.widget.js

index 729e14cf9cbeb7b7c881e1f9514f94f9cb40f762..55b6eda5d365fdddb3f1a501343e317a1d3be2aa 100644 (file)
@@ -270,9 +270,9 @@ $.Widget.prototype = {
                return this;
        },
        _setOptions: function( options ) {
-               var self = this;
+               var that = this;
                $.each( options, function( key, value ) {
-                       self._setOption( key, value );
+                       that._setOption( key, value );
                });
 
                return this;