Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1079)

Issue 12897043: Minor clean ups from model unification.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by j.c.sackett
Modified:
10 years, 8 months ago
Reviewers:
mp+180008, matthew.scott, rharding
Visibility:
Public.

Description

Minor clean ups from model unification. * XXX notes have been consolidated to indicate what should actually be done once possible. * The checks in BrowserCharm.parse have been updated based on investigation into the PyJuju and GoJuju environments. As the data passed is consistently in one form or another, we now just check if "config" exists and parse the data as needed in that case. https://code.launchpad.net/~jcsackett/juju-gui/charm-unification-cleanup/+merge/180008 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Minor clean ups from model unification. #

Total comments: 1

Patch Set 3 : Minor clean ups from model unification. #

Patch Set 4 : Minor clean ups from model unification. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -30 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/charm.js View 1 2 3 6 chunks +13 lines, -30 lines 0 comments Download

Messages

Total messages: 6
j.c.sackett
Please take a look.
10 years, 8 months ago (2013-08-13 21:43:04 UTC) #1
j.c.sackett
Please take a look.
10 years, 8 months ago (2013-08-14 13:52:58 UTC) #2
matthew.scott
LGTM, thanks
10 years, 8 months ago (2013-08-14 16:23:10 UTC) #3
rharding
LGTM though I don't get parse called on the super class? Can you verify/double check ...
10 years, 8 months ago (2013-08-14 17:48:49 UTC) #4
j.c.sackett
> https://codereview.appspot.com/12897043/diff/4001/app/models/charm.js#newcode518 > app/models/charm.js:518: var data = > models.BrowserCharm.superclass.parse.apply(this, arguments), > why is this calling ...
10 years, 8 months ago (2013-08-14 20:12:15 UTC) #5
j.c.sackett
10 years, 8 months ago (2013-08-14 21:57:56 UTC) #6
*** Submitted:

Minor clean ups from model unification.

* XXX notes have been consolidated to indicate what should actually be done once
possible.
* The checks in BrowserCharm.parse have been updated based on investigation into
the PyJuju and GoJuju environments. As the data passed is consistently in one
form or another, we now just check if "config" exists and parse
the data as needed in that case.

R=matthew.scott, rharding
CC=
https://codereview.appspot.com/12897043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b