Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F886821
memoizerGuard.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
728 B
Subscribers
None
memoizerGuard.js
View Options
/*
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.aspect.memoizerGuard"
]){
dojo
.
_hasResource
[
"dojox.lang.aspect.memoizerGuard"
]
=
true
;
dojo
.
provide
(
"dojox.lang.aspect.memoizerGuard"
);
(
function
(){
var
_1
=
dojox
.
lang
.
aspect
,
_2
=
function
(
_3
){
var
_4
=
_1
.
getContext
().
instance
,
t
;
if
(
!
(
t
=
_4
.
__memoizerCache
)){
return
;
}
if
(
arguments
.
length
==
0
){
delete
_4
.
__memoizerCache
;
}
else
{
if
(
dojo
.
isArray
(
_3
)){
dojo
.
forEach
(
_3
,
function
(
m
){
delete
t
[
m
];
});
}
else
{
delete
t
[
_3
];
}
}
};
_1
.
memoizerGuard
=
function
(
_5
){
return
{
after
:
function
(){
_2
(
_5
);
}};
};
})();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 7, 05:10 (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26877
Default Alt Text
memoizerGuard.js (728 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment