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

Doesn't work in node-webkit #3

Open
jacobq opened this issue Jul 2, 2014 · 3 comments
Open

Doesn't work in node-webkit #3

jacobq opened this issue Jul 2, 2014 · 3 comments

Comments

@jacobq
Copy link

jacobq commented Jul 2, 2014

Hi, I'm trying to use this inside of node-webkit (and I've ended up going from zero to not-a-complete-idiot regarding knowledge of emscripten). I couldn't figure out what I was doing wrong so I tried cloning your demo page (i.e. Chrome -> Save Page As... webpage, complete) and running the text-input validation from the local copy. It worked fine. However, when I added vanilla package.json file and attempted to run in node-webkit (node-webkit v0.8.6, node.js v0.10.22, Chromium 30.0.1599.66) the call to validateXML returns an empty string. Any idea what would cause this?

@fenwick67
Copy link

I just ran into the same issue on win7 x64, works on chrome 42 but not on nwjs v0.12.0 (with chromium 41). Very odd that it works in Chrome but not in nwjs. There must be some quirk we are unaware of.

@sterpe
Copy link
Collaborator

sterpe commented May 12, 2015

Does polotek/libxmljs work?

@fenwick67
Copy link

@sterpe I didn't try polotek/libxmljs.

My understanding is that libxmljs is just bindings to the native C modules, so it is a different animal and Nodejs only.

My goal was a totally client-side web app, I just use Node-Webkit for developing web projects sometimes since it allows cross-origin requests.

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

3 participants