Skip to content

Commit

Permalink
Default noop loading function.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Sep 15, 2016
1 parent d585143 commit 897dc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Container.prototype.use = function(ns, s, options) {

if (typeof s == 'object') {
manifest = s;
load = s.load;
load = s.load || function noop(id) { return; };
}

if (typeof load != 'function') {
Expand Down

0 comments on commit 897dc22

Please sign in to comment.