You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Would be good to update the package asap, since the examples on the homepages don't work when you're using npm at this time (with node 0.4.8). (TypeError: Cannot call method 'runInContext' of undefined)
The reason will be displayed to describe this comment to others. Learn more.
What is the best approach to using this until it's in npm? I just manually edited my file in /Users/lancefisher/node_modules/jsdom/lib/jsdom/level2/languages/javascript.js to change that line, and it seems to work, but I'm just hacking my way through things. Thanks.
jsdom 0.3.0 should hit npm at the end of this week (just need to fix more bugs and get some of the half-baked functionality finished). If you have some spare cycles, let me know, I'd love the help!
4cf155a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look the npm package was updated for this yet:
npm update jsdom still contains the old code.
4cf155a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to update the package asap, since the examples on the homepages don't work when you're using npm at this time (with node 0.4.8). (TypeError: Cannot call method 'runInContext' of undefined)
4cf155a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the best approach to using this until it's in npm? I just manually edited my file in /Users/lancefisher/node_modules/jsdom/lib/jsdom/level2/languages/javascript.js to change that line, and it seems to work, but I'm just hacking my way through things. Thanks.
4cf155a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is what I have been doing.
4cf155a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm install https://github.com/tmpvar/jsdom/tarball/4cf155a1624b3fb54b2eec536a0c060ec1bab4ab
this also works in package.json
jsdom 0.3.0 should hit npm at the end of this week (just need to fix more bugs and get some of the half-baked functionality finished). If you have some spare cycles, let me know, I'd love the help!
4cf155a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks tmpvar! I didn't know you could do that with npm.