Github user stevengill commented on the pull request:

    https://github.com/apache/cordova-lib/pull/275#issuecomment-127452233
  
    Vladimir! This is a much needed refactor and it looks great! Thank you! The 
previous spaghetti code was becoming hard to manage and understand. 
    
    Things I like:
    * Using `cordova_plugins.js` in the browserify build and removing 
`cordova_requires`
    * Adding the module name field in `cordova_plugins.js` for each module.
    * Using browserify expose to map `cordova/plugin_list` to 
`cordova_plugins.js`. (Didn't even know about expose)
    * Great find with aliasify! Much cleaner way to handle the bad legacy 
requires in plugins compared to using requiresTr.
    
    Quick Question without digging to deep:
    * Wondering why you had to add require('codrdova/init') to the bundle? 
https://github.com/MSOpenTech/cordova-lib/commit/510516135ef41b735b2e610c1b8d95fc77bd571e#diff-28a16640f3807e6ee2300ea7ce8c2f1dR196.
 How was that getting added previously? 
    
    I think you fixed all of the remaining bugs with your changes. 
@surajpindoria will continue to test on all of the devices we have here to see 
if we can find bugs.
    
    I am going to dive deeper into your cordova.js changes now.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to