Comparing version 0.9.2 to 0.9.3
@@ -74,3 +74,3 @@ 'use strict'; | ||
setImmediate(function () { | ||
res.flush(); | ||
res.flush && res.flush(); | ||
}); | ||
@@ -77,0 +77,0 @@ }) |
@@ -68,3 +68,3 @@ var path = require('path'); | ||
if (list && (list === fn || ~list.indexOf(fn))) { | ||
if (list && (list === fn || (list.indexOf && ~list.indexOf(fn)))) { | ||
return true; | ||
@@ -71,0 +71,0 @@ } |
{ | ||
"name": "yog-view", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"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", |
25481
7