Yeh Pat brought it up almost a year ago! https://issues.apache.org/jira/browse/CB-341
Stay on target.. Stay on taaaarget.. On 1/28/13 11:23 AM, "Brian LeRoux" <[email protected]> wrote: >ah sorry that is what I meant actually----tho it does beg how >cordova.require and various other requires might work > >(I think Pat brought this up last year.) > >On Mon, Jan 28, 2013 at 11:15 AM, Filip Maj <[email protected]> wrote: >> Hmm, how does this fit in with cordova.require ? >> >> On 1/28/13 11:11 AM, "Brian LeRoux" <[email protected]> wrote: >> >>>I'm thinking we encourage: >>> >>>var insta = require('instagram') >>>insta.share( ... ) >>> >>> >>> >>>On Mon, Jan 28, 2013 at 12:51 PM, Jesse <[email protected]> wrote: >>>> No reason to exist there, other than that is the way it used to be. >>>> I would rather just see : >>>> >>>> var myRef = Instagram.install(); >>>> myRef.share( ... ) >>>> >>>> I'll fork it. >>>> >>>> Also, I think we need to educate people on the use of >>>>objects&&prototypes, >>>> by example. >>>> We too have multiple places where we define a prototype object of >>>>which >>>> there will only evar be one ... off-topic sorry ... >>>> >>>> >>>> >>>> >>>> On Mon, Jan 28, 2013 at 10:40 AM, Filip Maj <[email protected]> wrote: >>>> >>>>> Don't think so. Should be up to the user. That said Cordova should >>>>>provide >>>>> a registration mechanism to enable collision detection (I think >>>>>Andrew >>>>> Grieve has something like this in his symbol mapping branch in >>>>>cordova-js). >>>>> >>>>> On 1/28/13 10:34 AM, "Brian LeRoux" <[email protected]> wrote: >>>>> >>>>> >The community is starting to put plugins in their own repos (good). >>>>>I >>>>> >noticed this one today: >>>>> > >>>>> >https://github.com/vstirbu/InstagramPlugin >>>>> > >>>>> >(Awesome.) >>>>> > >>>>> >But I can't stand window.plugins any longer. I think this might be a >>>>> >hangover from the existing plugin space but not totally sure---is >>>>> >there a good reason to have the plugins global "namespace" anymore? >>>>> >>>>> >>>> >>>> >>>> -- >>>> @purplecabbage >>>> risingj.com >>
