From 66f9e12797c16d8fa9078f45401f08f0f200e1bc Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Fri, 18 Nov 2011 12:19:32 +0100 Subject: Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore. --- demos/widget/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/widget') 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 ); } }); -- cgit v1.2.3