Skip to content

Add 'from' to list of JavaScript keywords - #3255

Merged
nightwing merged 1 commit into
ajaxorg:masterfrom
aalvrz:fix-javascript
Apr 7, 2017
Merged

nightwing merged 1 commit into
ajaxorg:masterfrom
aalvrz:fix-javascript

Conversation

@aalvrz

@aalvrz aalvrz commented Apr 3, 2017

Copy link
Copy Markdown
Contributor

Fixes #3254

@aalvrz aalvrz changed the title Add from to list of JavaScript keywords Add 'from' to list of JavaScript keywords Apr 3, 2017
@GabrielRatener

Copy link
Copy Markdown

Nice!!

This bug has been in Ace forever. I'm not sure why the maintainers haven't gotten around to performing such a simple fix.

@aalvrz

aalvrz commented Apr 5, 2017

Copy link
Copy Markdown
Contributor Author

Yes, and I only noticed until recently. Hope it gets merged soon.

@nightwing

Copy link
Copy Markdown
Contributor

We didn't do this because from is a contextual keyword, and this way it will be highlighted as a keyword even if it is a variable.

Merging since this new syntax is quite popular now (imo undeservedly) and it is much more frequent than from as a variable.

Thanks!

@nightwing
nightwing merged commit d3ea9d5 into ajaxorg:master Apr 7, 2017
@aalvrz
aalvrz deleted the fix-javascript branch April 9, 2017 11:33
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