Details

    • Estimated Difficulty:
      Low

      Description

      based on a priority XML tag that will allow the javascript service to merge them.

      if <priority> tag is not specified : priority => -1 : -1 means that the scripts will be loaded last

      merge of javascript is based on priority + alphabetical name with the following policy:

      compare(int p1, String n1, int p2, String n2) {
      if (p1 == p2)

      { // we compare n1 and n2 }

      else {
      if (p1 == -1)

      { // p2 is more important }

      else if (p2 == -1)

      { // p1 is more important }

      else

      { // we compare p1 and p2 }

      }
      }

      the javascript service will keep the script + priority and every time a new script is added, the final javascript will be recomputed.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tan_pham_dinh Tan Pham Dinh
                  Reporter:
                  julien_viet Julien Viet
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Remaining Estimate - 1 day
                    1d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified