From af653aaff7053d5572f42ccba8a182629b686adf Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 31 Aug 2011 00:23:23 -0400 Subject: [PATCH] Adjusted client-side module cleaning regex in combine.tpl --- tools/combine.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/combine.tpl b/tools/combine.tpl index afe8c00..d978cba 100644 --- a/tools/combine.tpl +++ b/tools/combine.tpl @@ -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 ];