Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 65589c312b108b37e9a2e51dfde231152a81c32f 1 parent 4e314ae
@aljimenez aljimenez authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/app/autoload/store.server.js
View
4 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);
+ }
},
Please sign in to comment.
Something went wrong with that request. Please try again.