Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F947407
counter.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
613 B
Subscribers
None
counter.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.counter"
]){
dojo
.
_hasResource
[
"dojox.lang.aspect.counter"
]
=
true
;
dojo
.
provide
(
"dojox.lang.aspect.counter"
);
(
function
(){
var
_1
=
dojox
.
lang
.
aspect
;
var
_2
=
function
(){
this
.
reset
();
};
dojo
.
extend
(
_2
,{
before
:
function
(){
++
this
.
calls
;
},
afterThrowing
:
function
(){
++
this
.
errors
;
},
reset
:
function
(){
this
.
calls
=
this
.
errors
=
0
;
}});
_1
.
counter
=
function
(){
return
new
_2
;
};
})();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 11:40 (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26763
Default Alt Text
counter.js (613 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment