power-assert-renderer-base
Advanced tools
Comparing version 1.0.0 to 1.0.2
14
index.js
@@ -6,3 +6,3 @@ 'use strict'; | ||
BaseRenderer.prototype.register = function (traversal) { | ||
BaseRenderer.prototype.init = function (traversal) { | ||
var _this = this; | ||
@@ -20,15 +20,19 @@ traversal.on('start', function (context) { | ||
BaseRenderer.prototype.setWritable = function (writable) { | ||
this.writable = writable; | ||
}; | ||
// API | ||
BaseRenderer.prototype.onStart = function (context) { | ||
}; | ||
// API | ||
BaseRenderer.prototype.onData = function (esNode) { | ||
}; | ||
// API | ||
BaseRenderer.prototype.onEnd = function () { | ||
}; | ||
BaseRenderer.prototype.setDestination = function (writable) { | ||
this.writable = writable; | ||
}; | ||
// API | ||
BaseRenderer.prototype.write = function (str) { | ||
@@ -35,0 +39,0 @@ this.writable.write(str); |
{ | ||
"name": "power-assert-renderer-base", | ||
"description": "base renderer for power-assert context", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Takuto Wada", |
2785
32