[Pkg-javascript-commits] [node-expat] 158/371: that try catch isn't helping anything
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 09:59:57 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 0cda3473614158c29dd571b0ecd31ff697109d7c
Author: Tom Hughes-Croucher <tom.croucher at gmail.com>
Date: Tue Jun 5 23:06:27 2012 -0700
that try catch isn't helping anything
---
lib/node-expat.js | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/node-expat.js b/lib/node-expat.js
index 1d393ef..c57853b 100644
--- a/lib/node-expat.js
+++ b/lib/node-expat.js
@@ -2,11 +2,7 @@ var EventEmitter = require('events').EventEmitter;
var util = require('util');
var Stream = require('stream').Stream;
-try {
- var expat = require('../build/Release/node-expat');
-} catch(e) {
- var expat = require('../build/default/node-expat');
-}
+var expat = require('../build/Release/node-expat');
var Parser = function(encoding) {
var that = this;
--
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