Skip to content

Commit

Permalink
parser is a local var
Browse files Browse the repository at this point in the history
  • Loading branch information
ianshward committed Feb 3, 2011
1 parent c680f50 commit 65a076e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node-libxml-rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Feed.prototype.fetch = function(path, cache, callback) {
Feed.prototype.parse = function(xml, cache, callback) {
// @TODO: check if in cache (parsed object)
var stack = [];
parser = new libxml.SaxPushParser(function(cb) {
var parser = new libxml.SaxPushParser(function(cb) {
// Based on https://gist.github.com/416021 by @mscdex
cb.onStartElementNS(function(elem, attrs, prefix, uri, namespaces) {
var obj = {};
Expand Down

0 comments on commit 65a076e

Please sign in to comment.