Skip to content

Commit

Permalink
CLJS-2208: module_deps.js is not compatible with older JS implementat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
anmonteiro authored and dnolen committed Jul 10, 2017
1 parent 8e8349f commit 00df4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/cljs/cljs/module_deps.js
Expand Up @@ -66,7 +66,7 @@ md.on('end', function() {
if (match != null){
var providedModule = match[1].replace('\\', '/');

dep.provides = providedModule.endsWith('/index') ?
dep.provides = /\/index$/.test(providedModule) ?
[ providedModule, providedModule.replace(/\/index$/,'')] :
[ providedModule ];
}
Expand Down

0 comments on commit 00df4ae

Please sign in to comment.