Sha256: 5b88b697448f9d74b3bd13a63a2cf6cd09d3df64d73b8b5816a4033c82cf01e3

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

//>>built
define("dojox/mvc/_Controller",["dojo/_base/declare","dojo/_base/lang","dojo/Stateful","./_atBindingMixin"],function(_1,_2,_3,_4){
return _1("dojox.mvc._Controller",[_3,_4],{postscript:function(_5,_6){
if(this._applyAttributes){
this.inherited(arguments);
}
this._dbpostscript(_5,_6);
if(_5){
this.params=_5;
for(var s in _5){
this.set(s,_5[s]);
}
}
var _7;
try{
_7=require("dijit/registry");
this.id=this.id||(_6||{}).id||_7.getUniqueId(this.declaredClass.replace(/\./g,"_"));
_7.add(this);
}
catch(e){
}
if(!_6){
this.startup();
}
},startup:function(){
if(!this._applyAttributes){
this._startAtWatchHandles();
}
this.inherited(arguments);
},destroy:function(){
if(!this._applyAttributes){
this._stopAtWatchHandles();
}
this.inherited(arguments);
},set:function(_8,_9){
if(typeof _8==="object"){
for(var x in _8){
if(_8.hasOwnProperty(x)){
this.set(x,_8[x]);
}
}
return this;
}
if(!this._applyAttributes){
if((_9||{}).atsignature=="dojox.mvc.at"){
return this._setAtWatchHandle(_8,_9);
}else{
var _a="_set"+_8.replace(/^[a-z]/,function(c){
return c.toUpperCase();
})+"Attr";
if(this[_a]){
this[_a](_9);
}else{
this._set(_8,_9);
}
return this;
}
}
return this.inherited(arguments);
},_set:function(_b,_c){
if(!this._applyAttributes){
return this._changeAttrValue(_b,_c);
}
return this.inherited(arguments);
}});
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/mvc/_Controller.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/mvc/_Controller.js
dojox-rails-0.11.0 vendor/assets/javascripts/mvc/_Controller.js