[jira] [Updated] (OFBIZ-9976) Introduce require.js to organise JavaScript files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-9976) Introduce require.js to organise JavaScript files

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Sharma updated OFBIZ-9976:
---------------------------------
    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



  was:
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




> Introduce require.js to organise JavaScript files
> -------------------------------------------------
>
>                 Key: OFBIZ-9976
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9976
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)