jrburke/requirejs — Issue #132: Allow URLs in simplified CJS wrapping
Author: jrburke
Created: 2011-10-19 21:52:10+00:00
State: open

Right now this fails:

define(function(require){
var foo = require('http://some.thing.com/path/to/file.js');
});

because the commentRegExp used to strip out comments strips out the url. This fixed it in a test project, but needs to be run through all the requirejs/r.js tests:

commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,

Target for 1.0.1 release.