yog-bigpipe
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -34,3 +34,3 @@ var BigPipe = require('./lib/bigpipe.js'); | ||
next(); | ||
} | ||
} | ||
}; | ||
}; |
@@ -68,3 +68,3 @@ var Pagelet = require('./pagelet.js'); | ||
var pageletIDSplit = id.split('@'); | ||
var pageletID = pageletIDSplit.shift() | ||
var pageletID = pageletIDSplit.shift(); | ||
me.quicklings.push(pageletID); | ||
@@ -71,0 +71,0 @@ me.parentQuicklings.push.apply(me.parentQuicklings, pageletIDSplit); |
@@ -94,2 +94,7 @@ var util = require("util"); | ||
provider(function (err, val) { | ||
// 被销毁后,不再触发渲染 | ||
if (self.destroyed) { | ||
return; | ||
} | ||
if (err) { | ||
@@ -96,0 +101,0 @@ return self.emit('error', err); |
{ | ||
"name": "yog-bigpipe", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "An express.js middleware for fis widget pipline output.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
37499
973