Merge lp:~gary/juju-gui/fixTrunk into lp:juju-gui/experimental
Proposed by
Gary Poster
Status: | Merged |
---|---|
Merged at revision: | 1043 |
Proposed branch: | lp:~gary/juju-gui/fixTrunk |
Merge into: | lp:juju-gui/experimental |
Diff against target: |
12 lines (+1/-1) 1 file modified
app/templates/service-relations-list.handlebars (+1/-1) |
To merge this branch: | bzr merge lp:~gary/juju-gui/fixTrunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+185409@code.launchpad.net |
Description of the change
Trivial spelling fix
To post a comment you must log in.
Reviewers: mp+185409_ code.launchpad. net,
Message:
Please take a look.
Description:
Fix lint and tests
Tweak code so tests pass.
https:/ /code.launchpad .net/~gary/ juju-gui/ fixTrunk/ +merge/ 185409
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/13250048/
Affected files (+9, -6 lines): models. js
A [revision details]
M app/app.js
M app/config-debug.js
M app/config-prod.js
M app/models/
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: app/app.js CookieUse: function(req, res, next) {
this. cookieHandler = this.cookieHandler || new Y.juju.Cookies();
this. cookieHandler. check() ;
=== modified file 'app/app.js'
--- app/app.js 2013-09-12 18:15:47 +0000
+++ app/app.js 2013-09-13 03:34:55 +0000
@@ -1324,7 +1324,7 @@
*/
authorize
var ga_key = this.get('GA_key');
- if (ga_key != '') {
+ if (ga_key) {
}
Index: app/config-debug.js debug.js'
=== modified file 'app/config-
--- app/config-debug.js 2013-09-12 20:02:37 +0000
+++ app/config-debug.js 2013-09-13 03:34:55 +0000
@@ -47,9 +47,9 @@
// There is also a hotkey to toggle the simulator.
simulateEvents: true,
readOnly: false,
- // Set the GA_key to enable Google Analytics usage and calls. Also
implies using cookies.
- // For the debug configuration, the GA_key should be blank to prevent
- // muddying the gathered statistics.
+ // Set the GA_key to enable Google Analytics usage and calls. Also
implies
+ // using cookies. For the debug configuration, the GA_key should be
blank to
+ // prevent muddying the gathered statistics.
GA_key: '',
login_help: 'For this demonstration, use the password "admin" to
connect.',
isJujucharms: false,
Index: app/config-prod.js prod.js' /simulateEvents feature flag.
=== modified file 'app/config-
--- app/config-prod.js 2013-09-12 18:15:47 +0000
+++ app/config-prod.js 2013-09-13 03:34:55 +0000
@@ -46,7 +46,8 @@
// You can also use the :flags:
simulateEvents: false,
readOnly: false,
- // Set the GA_key to enable Google Analytics usage and calls. Also
implies using cookies.
+ // Set the GA_key to enable Google Analytics usage and calls. Also
implies
+ // using cookies.
GA_key: 'UA-41463568-2',
login_help: (
'The password is the admin-secret from the Juju environment. This
can ' +
Index: app/models/ models. js models. js' models. js 2013-09-11 21:17:51 +0000 models. js 2013-09-13 03:34:55 +0000
=== modified file 'app/models/
--- app/models/
+++ app/models/
@@ -221,7 +221,7 @@
using the supplied relationId.
@method removeRelations ations: function( relationId) { 'relations' );
- @param {String} relationId of the relation to remove;
+ @param {String} relationId The id of the relation to remove.
*/
removeRel
var relations = this.get(