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 approach that would be cleaner and more 
flexible.
 
I have written this up, as it features several (untested) code examples.
 
Please have a look and let me know your thoughts.
 
https://github.com/jxp/cordova.pluginLoader
 
 
Jonathan
                                          

Reply via email to