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

Reply via email to