- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2015 02:14 AM
I'd like to use nuxeo.js in Nashorn javascript engine. The advantage is that it doesn't require to install node.js and can be used on any java8 VM console.
The problem is that nuxeo.js requires jQuery, and trying to load jQuery requires browser environment (like "window" object).
Any solution? What do you think about this approach? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2015 11:07 AM
Hi,
We have no plan yet to make nuxeo.js work directly in Nashorn. As it's only a JavaScript
engine, it does not support XMLHttpRequest
, so even if we remove the jQuery
dependency, we won't be able to make any call.
You best bet, as Antoine Cordier suggested, is to try running it through Node.js.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2015 02:45 AM
It looks like the JS lib is also shipped for NodeJS. Did you try it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2015 03:06 AM
yes, trying to load "lib/node/nuxeo.js" fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2015 04:15 AM
Hi. Googling around on the topic gives this (maybe) interesting result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2015 11:07 AM
Hi,
We have no plan yet to make nuxeo.js work directly in Nashorn. As it's only a JavaScript
engine, it does not support XMLHttpRequest
, so even if we remove the jQuery
dependency, we won't be able to make any call.
You best bet, as Antoine Cordier suggested, is to try running it through Node.js.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2015 01:00 AM
Thanks for your research. I'll post back if I find any interesting outcome in this topic.
