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

Issue 10451044: A little template helper for checking flags.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by j.c.sackett
Modified:
11 years, 2 months ago
Reviewers:
mp+170689, jeff.pihach, rharding
Visibility:
Public.

Description

A little template helper for checking flags. Rick pointed out that this might be useful down the road, and makes the sharing code cleaner. So here it is. https://code.launchpad.net/~jcsackett/juju-gui/handlebars-helper/+merge/170689 Requires: https://code.launchpad.net/~jcsackett/juju-gui/sharing-widget/+merge/170615 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : A little template helper for checking flags. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/templates/browser_charm.handlebars View 1 1 chunk +2 lines, -2 lines 0 comments Download
M app/subapps/browser/views/charm.js View 1 2 chunks +2 lines, -5 lines 0 comments Download
M app/views/utils.js View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5
j.c.sackett
Please take a look.
11 years, 2 months ago (2013-06-20 20:03:25 UTC) #1
jeff.pihach
LGTM Thanks for the cleanup, great idea! https://codereview.appspot.com/10451044/diff/1/app/views/utils.js File app/views/utils.js (right): https://codereview.appspot.com/10451044/diff/1/app/views/utils.js#newcode1318 app/views/utils.js:1318: It's pretty ...
11 years, 2 months ago (2013-06-20 20:17:50 UTC) #2
j.c.sackett
On 2013/06/20 20:17:50, jeff.pihach wrote: > LGTM Thanks for the cleanup, great idea! > > ...
11 years, 2 months ago (2013-06-20 20:18:39 UTC) #3
rharding
LGTM I'm with Jeff on adding method docs to the helper and looks good aside ...
11 years, 2 months ago (2013-06-21 10:58:10 UTC) #4
j.c.sackett
11 years, 2 months ago (2013-06-24 20:42:27 UTC) #5
*** Submitted:

A little template helper for checking flags.

Rick pointed out that this might be useful down the road, and makes the sharing
code cleaner. So here it is.

R=jeff.pihach, rharding
CC=
https://codereview.appspot.com/10451044
Sign in to reply to this message.

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