[Pkg-javascript-commits] [node-expat] 98/371: Imported Upstream version 1.4.1
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 09:59:49 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 cb897fe23d2029607e4e4d9e19911286e3980b9a
Author: Jonas Smedegaard <dr at jones.dk>
Date: Tue Nov 29 21:36:38 2011 +0700
Imported Upstream version 1.4.1
---
lib/node-expat.js | 6 +++++-
package.json | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/node-expat.js b/lib/node-expat.js
index cd7f91a..cad557f 100644
--- a/lib/node-expat.js
+++ b/lib/node-expat.js
@@ -1,6 +1,10 @@
var EventEmitter = require('events').EventEmitter;
var util = require('util');
-var expat = require('../build/default/node-expat');
+try {
+ var expat = require('../build/Release/node-expat');
+} catch(e) {
+ var expat = require('../build/default/node-expat');
+}
/**
* Simple wrapper because EventEmitter has turned pure-JS as of node
diff --git a/package.json b/package.json
index 605f4aa..031ff69 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{ "name": "node-expat"
-,"version": "1.4.0"
+,"version": "1.4.1"
,"main": "./lib/node-expat"
,"description": "NodeJS binding for fast XML parsing."
,"scripts" : { "install": "node-waf configure build"
--
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