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

Issue 136950043: [observe-js] prevent incorrect codegen with empty path string (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by John Messerly
Modified:
9 years, 7 months ago
Reviewers:
arv, rafaelw1, rafaelw
Base URL:
ssh://github.com/Polymer/observe-js.git@master
Visibility:
Public.

Description

prevent incorrect codegen with empty path string fixes https://github.com/Polymer/polymer-expressions/issues/42 investigation notes here: https://github.com/Polymer/polymer-expressions/issues/42#issuecomment-53829454 it didn't look to me like isIndex was called on a hot path, so I just added a guard against empty string. Let me know if there's a smarter way to do that check. R=rafaelw@chromium.org Committed: https://github.com/Polymer/observe-js/commit/9552ec3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/observe.js View 1 chunk +1 line, -1 line 0 comments Download
M tests/test.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4
John Messerly
9 years, 7 months ago (2014-08-29 02:17:40 UTC) #1
rafaelw
lgtm. arv may want to follow up with something better -- he's the expert here.
9 years, 7 months ago (2014-08-29 02:24:19 UTC) #2
John Messerly
Committed patchset #1 manually as r9552ec3 (presubmit successful).
9 years, 7 months ago (2014-08-29 17:21:16 UTC) #3
arv
9 years, 7 months ago (2014-09-02 22:14:02 UTC) #4
Message was sent while issue was closed.
LGTM
Sign in to reply to this message.

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