Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow loading without a callback

  • Loading branch information...
commit a10c85d3fbf1fa551dc8ef69a8fa2620bfe40a27 1 parent 78f6005
@kpdecker kpdecker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lumbar-loader-events.js
View
2  lumbar-loader-events.js
@@ -20,7 +20,7 @@
if (!options.silent && !loaded) {
lumbarLoader.trigger && lumbarLoader.trigger('load:end', lumbarLoader);
}
- callback(error);
+ callback && callback(error);
}, options);
};
}());

0 comments on commit a10c85d

Please sign in to comment.
Something went wrong with that request. Please try again.