cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Braden Shepherdson <bra...@chromium.org>
Subject Re: [plugman] js install
Date Tue, 26 Mar 2013 17:14:40 GMT
I added the plugin-loading code there (see scripts/plugin_loader.js) but I
wasn't aware that XHRs to file:// URLs always have status 0 instead of
200/404/etc. Andrew fixed that today, but we decided not to try to
cherry-pick that change into 2.6.x.

It's harmless for the main function of cordova-js, but it means that the
future branch of the CLI tools won't work with the released 2.6.

Braden


On Tue, Mar 26, 2013 at 12:57 PM, Brian LeRoux <b@brian.io> wrote:

> Braden: whats happening in cordova-js that is broken/being heavily
> refactored?
>
>
> On Tue, Mar 26, 2013 at 9:36 AM, Braden Shepherdson <braden@chromium.org>
> wrote:
> > You'll need the future branch of cordova-cli and plugman, and to go
> through
> > a bit of a dance to get those two installed and npm linked properly. The
> > dance is as follows:
> >
> > cd plugman
> > npm install
> > sudo npm link
> > cd ../cordova-cli
> > npm install
> > sudo npm link
> > npm link plugman
> >
> > Now when you run 'cordova' you get the git version, and 'plugman'
> likewise.
> > You can skip everything after the first three lines if you're only using
> > plugman and not CLI.
> >
> > Note that the master branch is currently broken with cordova-js 2.6.0;
> > you'll have to use the future branch. Unfortunately that branch is under
> > heavy development right now, but I'm trying to keep it in a working
> state.
> >
> > Braden
> >
> >
> > On Tue, Mar 26, 2013 at 12:16 PM, Filip Maj <fil@adobe.com> wrote:
> >
> >> Use the future branch of plugman. That's where braden is putting the
> >> symbol mapping work into.
> >>
> >> On 3/26/13 9:09 AM, "Brian LeRoux" <b@brian.io> wrote:
> >>
> >> >Steve has plugman working with devicemotion plugin. Happy days! Its
> >> >time he ripped the JS out of cordova-js and put it in the plugin. But
> >> >does plugman support js installation? What needs happening to make it
> >> >so?
> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message