Skip to content

Commit

Permalink
Fix error when template is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Mar 10, 2015
1 parent 2a2a31f commit 1388170
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/environment.js
Expand Up @@ -149,9 +149,8 @@ var Environment = Obj.extend({

lib.asyncIter(this.loaders, function(loader, i, next, done) {
function handle(src) {
src.loader = loader;

if(src) {
src.loader = loader;
done(src);
}
else {
Expand Down

0 comments on commit 1388170

Please sign in to comment.