Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove method argument from _super calls

  • Loading branch information...
commit 97c171eec2a3a6559456d66416235dc1c197d0d1 1 parent ac44485
@jzaefferer jzaefferer authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 how-to-use-the-widget-factory.md
View
12 how-to-use-the-widget-factory.md
@@ -149,10 +149,10 @@ can override `_setOptions`.
if ( key === "value" ) {
value = this._constrain( value );
}
- this._super( "_setOption", key, value );
+ this._super( key, value );
},
_setOptions: function( options ) {
- this._super( "_setOptions", options );
+ this._super( options );
this.refresh();
},
refresh: function() {
@@ -197,10 +197,10 @@ provided by the event object.
if ( key === "value" ) {
value = this._constrain( value );
}
- this._super( "_setOption", key, value );
+ this._super( key, value );
},
_setOptions: function( options ) {
- this._super( "_setOptions", options );
+ this._super( options );
this.refresh();
},
refresh: function() {
@@ -326,10 +326,10 @@ element, and unbinding generally all events that were added using `_bind`.
if ( key === "value" ) {
value = this._constrain( value );
}
- this._super( "_setOption", key, value );
+ this._super( key, value );
},
_setOptions: function( options ) {
- this._super( "_setOptions", options );
+ this._super( options );
this.refresh();
},
refresh: function() {
Please sign in to comment.
Something went wrong with that request. Please try again.