incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-293) bullet-proof modjewel
Date Fri, 02 Mar 2012 14:09:58 GMT
bullet-proof modjewel
---------------------

                 Key: CB-293
                 URL: https://issues.apache.org/jira/browse/CB-293
             Project: Apache Callback
          Issue Type: Wish
          Components: weinre
            Reporter: Patrick Mueller
            Priority: Blocker


Since Cordova is going to have it's own {{require()}} and {{define()}} functions, I need to
figure out how to make those co-exist with weinre's {{require()}} and {{define()}} functions
- in the target.

Current thinking is that modjewel should export a global to window called "modjewel", with
a {{require()}} and {{define()}} function hanging off that object, and then use those.  

This affects the bundling procedure, which should replace {{define()}} with {{modjewel.define()}},
or run those defines with their own version (closed over a function).  Also affects the "main"
{{require()}} that gets everything started.

Should also add copyrights to {{target-script.js}}

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