1
0
Fork 0

Adjusted client-side module cleaning regex in combine.tpl

closure/master
Mike Gerwitz 2011-08-31 00:23:23 -04:00
parent ce1370e025
commit af653aaff7
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ var easejs = {};
{
// remove the './' directory prefix (every module is currently included
// via a relative path)
var id_clean = module_id.replace( /^.\//, '' );
var id_clean = module_id.replace( /^\.?\//, '' );
// attempt to retrieve the module
var mod = module[ id_clean ];