Skip to content

Commit

Permalink
Merge 6ef861b into a3b97b4
Browse files Browse the repository at this point in the history
  • Loading branch information
淘小杰 committed Jan 16, 2015
2 parents a3b97b4 + 6ef861b commit abd900a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils.js
Expand Up @@ -155,7 +155,7 @@

var uriReg = /http(s)?:\/\/([^/]+)(?::(\d+))?/;
var commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg;
var requireRegExp = /[^.'"]\s*require\s*\((['"])([^)]+)\1\)/g;
var requireRegExp = /[^.'"]\s*require\s*\(\s*(['"])([^)]+)\1\s*\)/g;

function normalizeId(id) {
if (id.charAt(0) === '/') {
Expand Down Expand Up @@ -428,4 +428,4 @@
}, config));
}
});
})(modulex);
})(modulex);

0 comments on commit abd900a

Please sign in to comment.