Sha256: 434d1b657a0294e2bebbdd4391d8a539169bd8db5d2ba1c328e16178fdf81420

Contents?: true

Size: 951 Bytes

Versions: 9

Compression:

Stored size: 951 Bytes

Contents

//>>built
define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser"],function(_1,_2,_3){
return _2("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){
if(this.widgetsInTemplate){
var _4=this.domNode;
var cw=(this._startupWidgets=_3.parse(_4,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));
if(!cw.isFulfilled()){
throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.");
}
this._attachTemplateNodes(cw,function(n,p){
return n[p];
});
}
},startup:function(){
_1.forEach(this._startupWidgets,function(w){
if(w&&!w._started&&w.startup){
w.startup();
}
});
this.inherited(arguments);
}});
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dijit-rails-0.14.0 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/_WidgetsInTemplateMixin.js