Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ComputedPropertyNames feature #35

Merged
merged 2 commits into from
Mar 10, 2014
Merged

Conversation

flaki
Copy link
Contributor

@flaki flaki commented Mar 9, 2014

Added Computed Property Names feature for the Enhanced Object Literals section. The syntax highlighter seems to struggle a bit on those, sometimes the line is not showing up, so I had to re-indent the section (and filed a bug).

flaki added 2 commits March 9, 2014 20:10
…ghlighter glitch

Syntax highlighter has a glitch/bug, which causes the computed property name section to be hidden completely. Bug doesn't seem to apply when using four-space indentation.

Regarding the highlighter issue, filed bug report:
pygments/pygments.rb#115
@domenic
Copy link
Contributor

domenic commented Mar 9, 2014

Nice find!

lukehoban added a commit that referenced this pull request Mar 10, 2014
Added ComputedPropertyNames feature
@lukehoban lukehoban merged commit 4b31e03 into lukehoban:master Mar 10, 2014
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