Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[object NodeList] error when testing with phantomjs #46

Closed
benr77 opened this issue Oct 29, 2014 · 5 comments
Closed

[object NodeList] error when testing with phantomjs #46

benr77 opened this issue Oct 29, 2014 · 5 comments

Comments

@benr77
Copy link

benr77 commented Oct 29, 2014

When running headless browser tests on my project using PhantomJS and CasperJS I get the following error on one of my pages. This error does not crop up on any normal browser so I can only assume it's related to PhantomJS itself.

TypeError: '[object NodeList]' is not a valid argument for 'Function.prototype.apply' (evaluating 'g.childNodes')

@hillmandj
Copy link

^^ Any follow up on this??

@a1russell
Copy link

I just saw this issue, but last week I submitted pull request #49. No response yet, though.

@nfrasser nfrasser mentioned this issue Jan 2, 2015
30 tasks
@nfrasser
Copy link
Owner

Fixed in #51

@drewbietron
Copy link

Updated to 2.0 to mend this issue but linkify.js is not included in the 2.0 beta bower package. Only linkify.js is in the dist/ folder which prints a deprecation warning to console.

@nfrasser
Copy link
Owner

@drewbietron 2.0 is a complete rewrite from 1.1.7. You should install with the command bower install linkifyjs#v2.0.0-beta.5. Then use bower_components/linkifyjs/linkify.js and bower_components/linkifyjs/linkify-jquery.js. Full setup docs are found here.

src/linkified.js (which I'm guessing is the file you're referring to) is in 1.1.7 only and should not be used directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants