Skip to content

Commit

Permalink
* Add super_ in hstream
Browse files Browse the repository at this point in the history
* Add version in ChangeLog

* Add package.json (Closes #3)
  • Loading branch information
akaspin committed Aug 11, 2010
1 parent 698191d commit f721670
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ChangeLog
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ In work, Version 0.2


* Syntax checking (in work) * Syntax checking (in work)


In work, Version 0.1.12 2010.08.11, Version 0.1.12


* Remove dependency to sys.inherits * Remove dependency to sys.inherits
* Add npm package


2010.06.21, Version 0.1.11 2010.06.21, Version 0.1.11


Expand Down
2 changes: 1 addition & 1 deletion hstream.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function HStream() {
this.root = new Chunk(this, undefined, undefined); this.root = new Chunk(this, undefined, undefined);
this.closed = false; this.closed = false;
} }
//HStream.prototype = new events.EventEmitter; HStream.super_ = events.EventEmitter;
HStream.prototype = Object.create(events.EventEmitter.prototype, { HStream.prototype = Object.create(events.EventEmitter.prototype, {
constructor: { constructor: {
value: HStream, value: HStream,
Expand Down
33 changes: 33 additions & 0 deletions package.json
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name" : "nun",
"description" : "Totally asynchronous non-blocking template engine for node.js",
"version" : "0.1.12",
"main" : "./index",
"author" : "Alexander Dorofeev",
"maintainers" : [
{
"name" : "Alexander Dorofeev",
"email" : "aka.spin@gmail.com"
}
],
"repositories" : [
"type" : "git",
"url" : "https://akaspin@github.com/akaspin/nun.git"
],
"bugs" : {
"web" : "http://github.com/akaspin/nun/issues"
},
"directories" : {
"test" : "./test"
},
"scripts" : {
"test" : "make test",
"benchmark" : "make benchmark"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/akaspin/nun/blob/master/LICENSE"
}
]
}

0 comments on commit f721670

Please sign in to comment.