Merge lp:~rharding/launchpad/fix_lp.js into lp:launchpad
Proposed by
Richard Harding
on 2012-01-12
| Status: | Merged |
|---|---|
| Approved by: | Ian Booth on 2012-01-12 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 14675 |
| Proposed branch: | lp:~rharding/launchpad/fix_lp.js |
| Merge into: | lp:launchpad |
| Diff against target: |
357 lines (+165/-168) 2 files modified
lib/lp/app/javascript/lp.js (+0/-142) lib/lp/app/templates/base-layout-macros.pt (+165/-26) |
| To merge this branch: | bzr merge lp:~rharding/launchpad/fix_lp.js |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ian Booth (community) | code | 2012-01-12 | Approve on 2012-01-12 |
|
Review via email:
|
|||
Commit Message
[r=wallyworld]
Description of the Change
= Summary =
There is global JS code in the lp.js which is a YUI module. This should be made more obvious and not associated with a YUI module.
== Proposed Fix ==
Move the global code into the JS block of the base layout macro outside of any YUI block.
To post a comment you must log in.

I feel dirty, and will hate myself in the morning, but +1 for now. So long as we commit to taking the next step to clean this up.