Skip to content

Commit

Permalink
One more missed check for require.on before calling it to allow dojox…
Browse files Browse the repository at this point in the history
…/app to work with other loaders. fixes #18171
  • Loading branch information
edchat committed Jul 30, 2014
1 parent 4246d66 commit 335d336
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/nls.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ define(["require", "dojo/Deferred"], function(require, Deferred){
}
if(error.info[0] && (error.info[0].indexOf(loadFile)>= 0)){
nlsDef.resolve(false);
requireSignal.remove();
if(requireSignal){
requireSignal.remove();
}
}
}) : null;

Expand Down

0 comments on commit 335d336

Please sign in to comment.