[Pkg-javascript-commits] [node-expat] 294/371: Fire 'close' event
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 10:00:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-expat.
commit 4446b8e8344b261008d80d4124918372545558db
Author: Lloyd Watkin <lloyd.watkin at surevine.com>
Date: Mon Nov 24 13:44:49 2014 +0000
Fire 'close' event
---
lib/node-expat.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/node-expat.js b/lib/node-expat.js
index 260209a..b24db23 100644
--- a/lib/node-expat.js
+++ b/lib/node-expat.js
@@ -58,8 +58,8 @@ Parser.prototype.write = function(data) {
error = e
}
if (error) {
- this.emit('error', error)
- this.emit('close')
+ this.emit('error', error)
+ this.emit('close')
}
return result
}
@@ -78,8 +78,8 @@ Parser.prototype.end = function(data) {
this.emit('end')
} else {
this.emit('error', error)
- this.emit('close')
}
+ this.emit('close')
}
Parser.prototype.reset = function() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git
More information about the Pkg-javascript-commits
mailing list