Page MenuHomeCode

Decorator.js
No OneTemporary

Decorator.js

/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.lang.oo.Decorator"]){
dojo._hasResource["dojox.lang.oo.Decorator"]=true;
dojo.provide("dojox.lang.oo.Decorator");
(function(){
var oo=dojox.lang.oo,D=oo.Decorator=function(_1,_2){
this.value=_1;
this.decorator=typeof _2=="object"?function(){
return _2.exec.apply(_2,arguments);
}:_2;
};
oo.makeDecorator=function(_3){
return function(_4){
return new D(_4,_3);
};
};
})();
}

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 6, 17:46 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26967
Default Alt Text
Decorator.js (600 B)

Event Timeline