Merge lp:~michael.nelson/lazr-js/491337-error-style-try-2 into lp:lazr-js
Proposed by
Michael Nelson
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~michael.nelson/lazr-js/491337-error-style-try-2 |
Merge into: | lp:lazr-js |
Diff against target: |
127 lines (+19/-17) 3 files modified
examples/error/minimal_example.html (+7/-6) src-js/lazrjs/error/error-widget-minimal.js (+6/-7) src-js/lazrjs/error/tests/error.js (+6/-4) |
To merge this branch: | bzr merge lp:~michael.nelson/lazr-js/491337-error-style-try-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+16423@code.launchpad.net |
To post a comment you must log in.
Summary
=======
Fixes bug 491337 by ensuring that the minimal error widget has its own module, so that the associated css is loaded dynamically loaded at runtime when the module appears in a .use() statement.
To test:
Check the following url before and after merging (in FF or Chromium etc.):
file:// /home/michael/ canonical/ lazr-js- branches/ 491337- error-style- try-2/examples/ error/minimal_ example. html
Before merging the error will be not be styled, appearing at the top-left of the window.