Polymer/polymer-expressions — pull request #3 by satchmorun (2013-10-12 04:10:40+00:00)
Title: Allow string literals as keys in labelled statements

As referenced in a comment by rafaelw, the current
implementation of labelled statements restricts the "key"
values to JS identifiers, which are more restricted than
CSS identifiers.

This PR allows string literals as well as identifiers in
labelled statements.

Things to note:
- I futzed with the modified esprima parser. I figured
that was ok, since it was already being futzed with.
- With this PR, it's not true that polymer expressions
are a "strict subset" of JS. However, labelled statements
were being rather abused, so I'm hoping that's not too
much of an issue, as this would be useful for me.