Permalink
Browse files

do not include trailing slash in scriptOptions.base

  • Loading branch information...
nightwing committed Jun 21, 2012
1 parent 3cc878f commit 8fbe921ad992c118f10556a80750510fddc0e806
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/ace/config.js
View
@@ -97,10 +97,9 @@ exports.init = function() {
}
}
var m = src.match(/^(?:(.*\/)ace\.js)(?:\?|$)/);
if (m) {
scriptUrl = m[1] || m[2];
}
var m = src.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);
if (m)
scriptUrl = m[1];
}
if (scriptUrl) {

0 comments on commit 8fbe921

Please sign in to comment.