Skip to content

Commit

Permalink
accepted patch to make dojo work on windows build of node.js; #refs #…
Browse files Browse the repository at this point in the history
…14018; !strict; thanks Evan!

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@26746 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
rcgill committed Sep 30, 2011
1 parent 62c7705 commit 2c383ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@
compactPath = function(path){
var result = [],
segment, lastSegment;
path = path.split("/");
path = path.replace(/\\/g, '/').split('/');
while(path.length){
segment = path.shift();
if(segment==".." && result.length && lastSegment!=".."){
Expand Down

0 comments on commit 2c383ec

Please sign in to comment.