Comparing version 0.9.1 to 0.9.2
@@ -30,3 +30,3 @@ 'use strict'; | ||
// 此处只能使用文字匹配的手段判断传入的回调是否是express默认回调,否则会无法使用pipe进行bigpipe输出 | ||
var hasCustomDone = done.toString().replace(/\s/g, '') != 'function(err,str){if(err)returnreq.next(err);self.send(str);};'; | ||
var hasCustomDone = done.toString().replace(/[\s;]/g, '') != 'function(err,str){if(err)returnreq.next(err)self.send(str)}'; | ||
@@ -33,0 +33,0 @@ // 初始化 layer 层。 |
{ | ||
"name": "yog-view", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"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", |