FB55/readabilitySAX — Issue #12: Version 1.3.3 still unstable?
Author: giacecco
Created: 2012-01-27 22:55:31+00:00
State: open

Hi FB55,
First of you thank you for the effort you are putting into improving the original readability code.

Is it me doing something wrong or readabilitySAX is not stable? I've tried studying some of your code, e.g. *tests/test_output.js*, and even very simple code that does nothing like below, derived from that, fails executing.

var Readability = require("readabilitySAX");
readable = new Readability({
pageURL: "http://www.fastcompany.com/1811210/state-of-the-union-address-is-ultimate-master-class-in-public-speaking?partner=rss"
});

The error I get is:

> node.js:201
> throw e; // process.nextTick error, or 'error' event on first tick
> ^
> TypeError: object is not a function
> at Object.CALL_NON_FUNCTION_AS_CONSTRUCTOR (native)
> at Object. (/Users/giacecco/Documents/Projects/jour.no/faves/eclipse-workspace/test1/test1.js:2:16)
> at Module._compile (module.js:432:26)
> at Object..js (module.js:450:10)
> at Module.load (module.js:351:31)
> at Function._load (module.js:310:12)
> at Array.0 (module.js:470:10)
> at EventEmitter._tickCallback (node.js:192:40)

Thank you in advance for any suggestion.

G.