Skip to content

Commit

Permalink
replace '.' with '/' globally in moduleName
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslang committed Sep 3, 2013
1 parent 3be0fe3 commit 3b8edc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ define("resolver",
var pluralizedType = parsedName.type + 's';
var name = parsedName.fullNameWithoutType;

var moduleName = prefix + '/' + pluralizedType + '/' + name.replace(/\./, '/');
var moduleName = prefix + '/' + pluralizedType + '/' + name.replace(/\./g, '/');
var module;

if (define.registry[moduleName]) {
Expand Down

0 comments on commit 3b8edc1

Please sign in to comment.