Skip to content

Commit 30482cd

Browse files
committed
Widget: Get rid of var self
1 parent 2a6ca3f commit 30482cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.widget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ $.Widget.prototype = {
270270
return this;
271271
},
272272
_setOptions: function( options ) {
273-
var self = this;
273+
var that = this;
274274
$.each( options, function( key, value ) {
275-
self._setOption( key, value );
275+
that._setOption( key, value );
276276
});
277277

278278
return this;

0 commit comments

Comments
 (0)