Created
October 1, 2017 18:10
-
-
Save dunmaksim/02b18d49c6e31d3e62f4928c84a57ef2 to your computer and use it in GitHub Desktop.
Dojo Toolkit "inherited" with JS strict mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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