RE: Suggestion - pluginLoader

2013-06-21 Thread J Prince
st causes your > .js file to be executed after cordova.js is parsed. > > I think with this, you could layer on another module loading system if you > wanted something outside of the cordova.define() system. > > Does that make sense? > > > > > On Fri, Jun 21, 2013

RE: Suggestion - pluginLoader

2013-06-21 Thread J Prince
t use alternate module > package definitions? > > > On Fri, Jun 21, 2013 at 9:39 AM, J Prince wrote: > > > Hi Andrew, > > > > My main point was to make the actual plugin javascript definitions more > > flexible. > > That way it would support more unusual

RE: Suggestion - pluginLoader

2013-06-21 Thread J Prince
; about the native side of the plugins? > > One thing I think maybe we should add is the ability to disable the > start-up plugin_loader.js logic for when people want to package the .js > themselves. > > > > > > On Fri, Jun 21, 2013 at 8:30 AM, J Prince wrote: > > >

RE: Suggestion - pluginLoader

2013-06-21 Thread J Prince
as needed. > > My suggested approach would result in plugins that could be loaded in > multiple different ways including (but not limited to); "classic" > window.plugins, cordova.define and require.js > > > > -Original Message- > > From: J Prince [ma

RE: Suggestion - pluginLoader

2013-06-18 Thread J Prince
ll your requirements. > > > -Original Message- > From: J Prince [mailto:princej.w...@hotmail.co.uk] > Sent: Monday, June 17, 2013 7:27 AM > To: dev@cordova.apache.org > Subject: RE: Suggestion - pluginLoader > > There are a few main reasons. > > 1. Th

RE: Suggestion - pluginLoader

2013-06-17 Thread J Prince
There are a few main reasons. 1. The app I am working on is an Enterprise app. We are designing the app as a Cordova shell that re-directs to all the html content. This means that we have to dynamically load a different cordova.js (depending on platform) following the redirect. So we are actual

Suggestion - pluginLoader

2013-06-16 Thread J Prince
In my project I wanted to dynamically load plugin modules (with require.js). However the current suggested module definition (https://github.com/phonegap/phonegap-plugins/wiki/Defining-Your-Cordova-Plugin-As-A-Cordova-Module) does not suit this approach. I would like to suggest an alternative a