Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1112

Refactor js dependency tree

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • None
    • Kernel
    • None
    • 2 - Long term
    • 3 - Complex

      We currently have to load in the right order all files required.
      "MyDependency1.js"
      "MyDependency2.js"
      "MyAction.js"

      We should use the "require" mecanism of ExtJS to auto-load this.
      The logic would be to set:
      requires: "MyDependency2" in "MyAction.js"
      and requires: "MyDependency1" in "MyDependency2.js"
      And only load "MyAction.js".
      Of course the purpose is not to let dynamic class system of ExtJS load the dependency, but on server side to analyse the requirements

            Unassigned Unassigned
            raphael Raphaƫl Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: