diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-11-18 12:19:32 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-11-18 17:08:40 +0100 |
commit | 66f9e12797c16d8fa9078f45401f08f0f200e1bc (patch) | |
tree | 5a52c50785e9cef79005d05e995e4257d02ad034 /demos | |
parent | e6f55967abdbd7ff6a0717237ab684391a150efc (diff) | |
download | jquery-ui-66f9e12797c16d8fa9078f45401f08f0f200e1bc.tar.gz jquery-ui-66f9e12797c16d8fa9078f45401f08f0f200e1bc.zip |
Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widget/default.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/widget/default.html b/demos/widget/default.html index 45cbe3298..3b812ef8e 100644 --- a/demos/widget/default.html +++ b/demos/widget/default.html @@ -106,7 +106,7 @@ // always refresh when changing options _setOptions: function() { // _super and _superApply handle keeping the right this-context - this._superApply( "_setOptions", arguments ); + this._superApply( arguments ); this._refresh(); }, @@ -116,7 +116,7 @@ if ( /red|green|blue/.test(key) && (value < 0 || value > 255) ) { return; } - this._super( "_setOption", key, value ); + this._super( key, value ); } }); |