/*
Copyright (c) 2004-2011, 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.cflow"]){
dojo._hasResource["dojox.lang.aspect.cflow"]=true;
dojo.provide("dojox.lang.aspect.cflow");
(function(){
var _1=dojox.lang.aspect;
_1.cflow=function(_2,_3){
if(arguments.length>1&&!(_3 instanceof Array)){
_3=[_3];
}
var _4=_1.getContextStack();
for(var i=_4.length-1;i>=0;--i){
var c=_4[i];
if(_2&&c.instance!=_2){
continue;
}
if(!_3){
return true;
}
var n=c.joinPoint.targetName;
for(var j=_3.length-1;j>=0;--j){
var m=_3[j];
if(m instanceof RegExp){
if(m.test(n)){
return true;
}
}else{
if(n==m){
return true;
}
}
}
}
return false;
};
})();
}
# |
Change |
User |
Description |
Committed |
|
#1
|
16170 |
perforce_software |
Move Chronicle files to follow new path scheme for branching. |
|
|
//guest/perforce_software/chronicle/application/dojo/resources/dojox/lang/aspect/cflow.js |
#1
|
8972 |
Matt Attaway |
Initial add of the Chronicle source code |
|
|