Hi,

On Tue, Oct 28, 2014 at 4:31 PM, Thiago Marcos P. Santos
<[email protected]> wrote:
> Extensions are dynamically loaded when the user touches the extension
> namespace (i.e. window.myExtension). If you have an entry point outside the
> extension namespace you have to explicitly declare it.

Thanks, that's the key point. However, now I have to force the users
of the extension to touch the extension by referencing
`window.myExtension`.
I can document it, but it's really not ideal.

Isn't there a way to force the extension to be loaded when
`navigator.foo` is used? (`navigator.foo` being set to
"myExtension.foo` in the extension's JS code)

-- 
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