From: Jörn Zaefferer Date: Mon, 12 Sep 2011 21:40:45 +0000 (+0200) Subject: Widget: Get rid of `var self` X-Git-Tag: 1.9m6~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=30482cd04b1fe2d5c4c1e29b624eb44828942de4;p=jquery-ui.git Widget: Get rid of `var self` --- diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 729e14cf9..55b6eda5d 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -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;