Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove dependency to sys.inherits. Changes in readme

  • Loading branch information...
commit 8cf8acf88f4650c1d0783c096c3d9f3783fff8f6 1 parent b890d1a
@akaspin authored
Showing with 9 additions and 5 deletions.
  1. +7 −1 hstream.js
  2. +2 −4 readme.md
View
8 hstream.js
@@ -137,7 +137,13 @@ function HStream() {
this.root = new Chunk(this, undefined, undefined);
this.closed = false;
}
-sys.inherits(HStream, events.EventEmitter);
+HStream.prototype = new events.EventEmitter;
+//HStream.prototype = Object.create(events.EventEmitter.prototype, {
+// constructor: {
+// value: HStream,
+// enumerable: false
+// }
+//});
exports.HStream = HStream;
/**
View
6 readme.md
@@ -174,6 +174,7 @@ Value in context can be one of following:
* Non empty object
* Non empty String
* Non Zero Number
+* Non `null`
* Boolean true
If the value does not fit into these limits, nothing will be rendered.
@@ -590,7 +591,7 @@ library using *nun*, a single global way will only interfere.
### ... is fast?
-So since version 0.1.101 *nun* totally refactored. On my test VM slightly
+So since version 0.1.11 *nun* totally refactored. On my test VM slightly
tuned "million-comlex" benchmark from mustache taken *about 45 seconds*.
You can run benchmark as follows:
@@ -603,6 +604,3 @@ You can run benchmark as follows:
Nun architecture a bit similar to Mu. "Nun" is the letter of the Phoenician
alphabet that means snake or fish, corresponding to the Greek "Nu", which
follows the "Mu".
-
-
-
Please sign in to comment.
Something went wrong with that request. Please try again.