Comparing version 0.5.10 to 0.5.11
var BUFFER_LENGTH = 1024 * 8; | ||
var parser = require('./parser'), | ||
baseProto = ({}).__proto__; | ||
var parser = require('./parser'); | ||
@@ -27,3 +26,3 @@ exports.render = render; | ||
if (stream.paused) { | ||
stream.on('resumed', function () { | ||
stream.once('resumed', function () { | ||
process.nextTick(next); | ||
@@ -189,15 +188,2 @@ }); | ||
function insertProto(obj, newProto, replaceProto) { | ||
replaceProto = replaceProto || baseProto; | ||
var proto = obj.__proto__; | ||
while (proto !== replaceProto) { | ||
obj = proto; | ||
proto = proto.__proto__; | ||
} | ||
obj.__proto__ = newProto; | ||
return obj; | ||
} | ||
// | ||
@@ -204,0 +190,0 @@ // |
var util = require('util') | ||
, Stream = require('stream').Stream; | ||
function MuStream() { | ||
@@ -17,3 +15,2 @@ Stream.call(this); | ||
MuStream.prototype.pause = function () { | ||
console.log('pause'); | ||
this.paused = true; | ||
@@ -23,5 +20,4 @@ } | ||
MuStream.prototype.resume = function () { | ||
console.log('resume'); | ||
this.paused = false; | ||
this.emit('resumed'); | ||
}; |
{ "name": "mu2" | ||
, "description": "A Mustache template engine for Node.js" | ||
, "keywords": ["template", "mustache"] | ||
, "version" : "0.5.10" | ||
, "version" : "0.5.11" | ||
, "homepage": "http://github.com/raycmorgan/mu" | ||
@@ -6,0 +6,0 @@ , "author" : "RayMorgan <ray@rumgr.com>" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27570
758