Skip to content

Commit

Permalink
Small mistake in the 'diff' code detecting module redefinitions (I wa…
Browse files Browse the repository at this point in the history
…sn't passing params to the loader).
  • Loading branch information
taz committed Jul 22, 2014
1 parent 4b64f90 commit d737f1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ocLazyLoad.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,8 @@
return self.getModuleConfig(requireEntry.name).files.indexOf(n) < 0
});
if (diff.length !== 0) {

$log.warn('Module "', moduleName, '" attempted to redefine configuration for dependency. "', requireEntry.name, '"\n Additional Files Loaded:', diff);
promisesList.push(filesLoader(diff).then(function () {
promisesList.push(filesLoader(diff, params).then(function () {
return loadDependencies(requireEntry);
}));
}
Expand Down

0 comments on commit d737f1e

Please sign in to comment.