|
refactored manageUnitsMixin and added tests
Full details:
- refactored manageUnitsMixin and added tests for it
- added documentation for manageUnitsMixin
- reconsidered our object literal style, updated the style guide to reflect my
current notions, and used the style in the code as a proof of concept
- captured current naming practice in the style guide (camelCase everywhere)
- tweaked all of the tests so the test container element is "display: none"
when possible and "visibility: hidden" otherwise
- transmuted an "apply" to a slightly simpler "call"
https://code.launchpad.net/~benji/juju-gui/bug-1074336/+merge/135261
(do not edit description out of merge proposal)
Total comments: 51
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+293 lines, -58 lines) |
Patch |
 |
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
app/store/env.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
app/views/service.js
|
View
|
|
3 chunks |
+91 lines, -34 lines |
15 comments
|
Download
|
 |
M |
docs/style-guide.rst
|
View
|
|
4 chunks |
+42 lines, -13 lines |
8 comments
|
Download
|
 |
M |
test/index.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/test_app.js
|
View
|
|
2 chunks |
+7 lines, -2 lines |
7 comments
|
Download
|
 |
M |
test/test_application_notifications.js
|
View
|
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
test/test_charm_collection_view.js
|
View
|
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
test/test_charm_view.js
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
test/test_environment_view.js
|
View
|
|
1 chunk |
+3 lines, -1 line |
1 comment
|
Download
|
 |
A |
test/test_manageUnitsMixin.js
|
View
|
|
1 chunk |
+142 lines, -0 lines |
13 comments
|
Download
|
 |
M |
test/test_service_view.js
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
undocumented
|
View
|
|
2 chunks |
+0 lines, -3 lines |
1 comment
|
Download
|
Total messages: 4
|