minification with bad "requires" param

Bug #1081205 reported by Thiago Veronezi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Fix Released
High
Benji York

Bug Description

The minification process does not read the "requires" parameters defined in "all-app-debug.js". This parameter should be defined in each custom yui object that uses some kind of internal or external requirement. The sole use of "all-app-debug.js" is to define the fullpath of the file that defines a given module.

This patch removes all the existing "requires" properties from "all-app-debug.js" and add then where they are needed.

Related branches

Changed in juju-gui:
assignee: nobody → Thiago Veronezi (tveronezi)
milestone: none → bluemoon
status: New → In Progress
Revision history for this message
Gary Poster (gary) wrote :

Two tasks to land this branch:

1) Fix failing test.

 relation notifications: "should generate messages about one-party relations"

Looks like it is a bad space removal:

expected 'Relation with endpoint1 (relation type "relation1") was created' to equal 'Relation with endpoint1 (relation type"relation1") was created'

Hopefully simple/trivial.

2) Address test changes. Steps to follow:

A) get branch
B) revert all test files to version from start of branch
C) If tests pass in 10 runs, COMMIT and MAKE A RETROSPECTIVE CARD TO DISCUSS SWITCHING TO STANDARD YUI APPROACH
D) if tests fail, revert to branch as is, COMMIT and MAKE THAT RETROSPECTIVE CARD.

Changed in juju-gui:
importance: Undecided → High
assignee: Thiago Veronezi (tveronezi) → Benji York (benji)
Gary Poster (gary)
Changed in juju-gui:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.