As the implementation currently stands, does the harmony support in v8
extend to loading modules in a different file statically?
Does V8 depend on a application supplied module loader?
I'm trying this:
in external.js
module external {
var x = 10;
export function gotit() { return x++; }
}
Then in sample.js, I try to import it - I've tried lots of different
syntaxes, none seem to work:
import external at 'file:///external.js';
order.Price = external.gotit();
I want to be able to load the sample.js script, and the V8 script object
should import and resolve external.js which resides in the same directory.
Thanks
Joe
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.