Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Implemented
-
Trunk, Upcoming Branch
-
None
Description
As suggested by jacques.le.roux in http://markmail.org/message/eec2anlwdt4azaac and http://ofbiz.markmail.org/thread/ti54omjdt4fy662m and as per the discussion with amardeepsj in OFBIZ-7758, introduce require.js http://requirejs.org/ to load javascript files.
Require.js offers a lot of benefits some of them includes:
- Asynchronous module loading.
- Well-structured code
- Creating and re-using modules without polluting the global namespace
- Explicit defining of dependencies between module