Comparing version 0.0.21 to 0.0.22
@@ -189,2 +189,6 @@ var path = require('path'); | ||
if (!async || type == 'css') { | ||
//skip framework load | ||
if (uri === framework){ | ||
return uri; | ||
} | ||
syncs[type] = syncs[type] || []; | ||
@@ -393,6 +397,4 @@ syncs[type].push(uri); | ||
var loadModjs = !!framework; | ||
var loadModjs = (jses || resourceMap) && framework; | ||
var p; | ||
if (loadModjs) { | ||
@@ -399,0 +401,0 @@ data.framework = framework; |
{ | ||
"name": "yog-view", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "An express.js middleware for optimizing the order of js\\css output, and enabling render template in bigpipe mode.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20330
492