Permalink
Browse files

Making sure that _staticDetails exists, this may be the case when usi…

…ng lazyMojits/lazyLangs and executing a mojit without going through the mojito-handler-static middleware.
  • Loading branch information...
1 parent 4e314ae commit 65589c312b108b37e9a2e51dfde231152a81c32f @aljimenez aljimenez committed Jul 15, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/app/autoload/store.server.js
@@ -2174,7 +2174,9 @@ YUI.add('mojito-resource-store', function(Y, NAME) {
this.yui._processResources(ress);
// Add new static details.
- this.getURLDetails(ress, this._staticDetails);
+ if (this._staticDetails) {
+ this.getURLDetails(ress, this._staticDetails);
+ }
},

0 comments on commit 65589c3

Please sign in to comment.