Hi,
If in my extension's JS file I add objects to the `exports` object,
they get added to `window.myExtension`.

So `exports.foo = something` means that a user of my extension will be
able to use `window.myExtension.foo`.

However, I'd like to export things to the `navigator` object, as it's
required from the specification I'm implementing.

Is there a way to do that?

Thanks!
Salvatore


-- 
Salvatore Iovene <[email protected]>
Linux Software Engineer
Intel Open Source Technology Center, Finland
Tel.: +358504804026
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to