Skip to content

Commit

Permalink
Fix IE path bug, seajs#342
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Aug 27, 2012
1 parent b27d6fc commit b1b68f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
}
}

if (!isAbsolute(ret)) {
ret = realpath(dirname(util.pageUri) + ret)
}

if (ret !== uri) {
mapCache[ret] = uri
}
Expand Down

0 comments on commit b1b68f2

Please sign in to comment.