Skip to content

fix syntax for object label which contains '$'#54

Closed
cohama wants to merge 1 commit into
pangloss:masterfrom
cohama:master
Closed

fix syntax for object label which contains '$'#54
cohama wants to merge 1 commit into
pangloss:masterfrom
cohama:master

Conversation

@cohama

@cohama cohama commented Aug 5, 2012

Copy link
Copy Markdown
var a = {
  $label: expr
};

$label does not highlighted as a JavaScriptLabel.
I think that the label should be highlighted even if it contains $.

This pull request fixes this.
Thanks.

@goatslacker

Copy link
Copy Markdown
Collaborator

This will highlight things like { 3f: true } which isn't valid. I'm using a different RegExp in #64

@pangloss

Copy link
Copy Markdown
Owner

Merged #64

@pangloss pangloss closed this Feb 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants