提交 c5af79f5 编写于 作者: C campaign

by zhanyi

上级 5adb4713
......@@ -103,16 +103,19 @@
parsedStack = parsedStack.split( this.localSeparator );
parsedStack.length = parsedStack.length - 1;
for( var i= 0, tempPath, root = this.stack; tempPath = parsedStack[ i ]; i++ ) {
if( PathStack.isParentPath( tempPath ) ) {
root.pop();
} else {
root.push( tempPath );
for(var i= 0,tempPath,l=parsedStack.length,root = this.stack;i<l;i++){
tempPath = parsedStack[i];
if(tempPath){
if( PathStack.isParentPath( tempPath ) ) {
root.pop();
} else {
root.push( tempPath );
}
}
}
}
var currentPath = document.getElementsByTagName('script');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册