Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F884330
aop.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
aop.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.oo.aop"
]){
dojo
.
_hasResource
[
"dojox.lang.oo.aop"
]
=
true
;
dojo
.
provide
(
"dojox.lang.oo.aop"
);
dojo
.
require
(
"dojox.lang.oo.Decorator"
);
dojo
.
require
(
"dojox.lang.oo.general"
);
(
function
(){
var
oo
=
dojox
.
lang
.
oo
,
md
=
oo
.
makeDecorator
,
_1
=
oo
.
general
,
_2
=
oo
.
aop
,
_3
=
dojo
.
isFunction
;
_2
.
before
=
_1
.
before
;
_2
.
around
=
_1
.
wrap
;
_2
.
afterReturning
=
md
(
function
(
_4
,
_5
,
_6
){
return
_3
(
_6
)
?
function
(){
var
_7
=
_6
.
apply
(
this
,
arguments
);
_5
.
call
(
this
,
_7
);
return
_7
;
}
:
function
(){
_5
.
call
(
this
);
};
});
_2
.
afterThrowing
=
md
(
function
(
_8
,
_9
,
_a
){
return
_3
(
_a
)
?
function
(){
var
_b
;
try
{
_b
=
_a
.
apply
(
this
,
arguments
);
}
catch
(
e
){
_9
.
call
(
this
,
e
);
throw
e
;
}
return
_b
;
}
:
_a
;
});
_2
.
after
=
md
(
function
(
_c
,
_d
,
_e
){
return
_3
(
_e
)
?
function
(){
var
_f
;
try
{
_f
=
_e
.
apply
(
this
,
arguments
);
}
finally
{
_d
.
call
(
this
);
}
return
_f
;
}
:
function
(){
_d
.
call
(
this
);
};
});
})();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 6, 10:25 (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26595
Default Alt Text
aop.js (1 KB)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment