Sha256: 3859c208d92eaefcb26839c960bd8ef660cfb78bd256b0e9d587b768e6984dcd

Contents?: true

Size: 979 Bytes

Versions: 9

Compression:

Stored size: 979 Bytes

Contents

//>>built
define("dojox/lang/aspect/memoizer",["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.lang.aspect.memoizer");
(function(){
var _4=_3.lang.aspect;
var _5={around:function(_6){
var _7=_4.getContext(),_8=_7.joinPoint,_9=_7.instance,t,u,_a;
if((t=_9.__memoizerCache)&&(t=t[_8.targetName])&&(_6 in t)){
return t[_6];
}
var _a=_4.proceed.apply(null,arguments);
if(!(t=_9.__memoizerCache)){
t=_9.__memoizerCache={};
}
if(!(u=t[_8.targetName])){
u=t[_8.targetName]={};
}
return u[_6]=_a;
}};
var _b=function(_c){
return {around:function(){
var _d=_4.getContext(),_e=_d.joinPoint,_f=_d.instance,t,u,ret,key=_c.apply(_f,arguments);
if((t=_f.__memoizerCache)&&(t=t[_e.targetName])&&(key in t)){
return t[key];
}
var ret=_4.proceed.apply(null,arguments);
if(!(t=_f.__memoizerCache)){
t=_f.__memoizerCache={};
}
if(!(u=t[_e.targetName])){
u=t[_e.targetName]={};
}
return u[key]=ret;
}};
};
_4.memoizer=function(_10){
return arguments.length==0?_5:_b(_10);
};
})();
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojox-rails-0.11.0 vendor/assets/javascripts/lang/aspect/memoizer.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/lang/aspect/memoizer.js