Skip to content

Instantly share code, notes, and snippets.

@dunmaksim
Created October 1, 2017 18:10
Show Gist options
  • Select an option

  • Save dunmaksim/02b18d49c6e31d3e62f4928c84a57ef2 to your computer and use it in GitHub Desktop.

Select an option

Save dunmaksim/02b18d49c6e31d3e62f4928c84a57ef2 to your computer and use it in GitHub Desktop.
Dojo Toolkit "inherited" with JS strict mode
require([
"dojo/_base/declare",
"dijit/_WidgetBase"
], function (declare){
"use strict";
return declare("WidgetClass", _WidgetBase, {
startup: function startup(){
this.inherited({
callee: startup
}, arguments);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment