Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F15613821
memoizerGuard.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
728 B
Referenced Files
None
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
Wed, Nov 25, 21:39 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26877
Default Alt Text
memoizerGuard.js (728 B)
Attached To
Mode
rZED Zed
Attached
Detach File
Event Timeline
Log In to Comment