Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9976

Introduce require.js to organise JavaScript files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • Trunk, Upcoming Branch
    • 22.01.01
    • ALL APPLICATIONS
    • 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

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            adityasharma Aditya Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: