Skip to content

Commit

Permalink
Merge pull request #389 from SamyPesse/patch-1
Browse files Browse the repository at this point in the history
Fix error when template is not found
  • Loading branch information
jlongster committed Mar 10, 2015
2 parents 2a2a31f + 1388170 commit 8ef8c47
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 8ef8c47

Please sign in to comment.