| 1 | define(["dojo/_base/declare", "dojox/app/ViewBase", "dijit/form/Button"], |
| 2 | function(declare, ViewBase, Button){ |
| 3 | return declare([Button, ViewBase], { |
| 4 | postscript: function(){ |
| 5 | // we want to avoid kickin the Dijit lifecycle at ctor time so that definition has been mixed into the |
| 6 | // widget when it is instanciated. This is only really needed if you need the definition |
| 7 | }, |
| 8 | _startup: function(){ |
| 9 | this.create(); |
| 10 | this.inherited(arguments); |
| 11 | } |
| 12 | }); |
| 13 | } |
| 14 | ); |