incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1226) [weinre] programmatic control of connection from the target
Date Mon, 13 Aug 2012 17:47:38 GMT

    [ https://issues.apache.org/jira/browse/CB-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433353#comment-13433353
] 

Patrick Mueller commented on CB-1226:
-------------------------------------

I wasn't thinking that we'd be doing dynamic weinre injection, but don't have a big issue
with it.  Means refactoring the current target code into 3 pieces - one is the original all-in-one
script, another is the thin shell that enables weinre injection, the last is the injected
weinre piece loaded by the thin shell.

And since you mention Cordova, prolly makes sense to think of weinre being used as a "plugin",
so that when we get the easy-peasy way of adding/removing plugins to your "app", you can add/remove
weinre as needed.
                
> [weinre] programmatic control of connection from the target
> -----------------------------------------------------------
>
>                 Key: CB-1226
>                 URL: https://issues.apache.org/jira/browse/CB-1226
>             Project: Apache Cordova
>          Issue Type: Wish
>            Reporter: Patrick Mueller
>
> A few weinre users have expressed an interest in having programmatic control over the
weinre connection.  Basically, to start and stop a weinre session from their user-land JavaScript
code.
> This shouldn't be a huge deal, refactoring + coming up with "APIs".  Where the API includes
the global object to hang functions/properties off of.  Presumably, a global named "weinre".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message