Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Ecmascript 3 denotes 'char' as "future reserved word" #195

Merged
merged 2 commits into from
May 19, 2013
Merged

Ecmascript 3 denotes 'char' as "future reserved word" #195

merged 2 commits into from
May 19, 2013

Conversation

ivorbosloper
Copy link
Contributor

Yuicompressor fails to compress this file because 'char' is a "future reserved word". The fix contains equivalent functionality avoiding the bare 'char' word.

Ecmascript 5 dropped this reserved word, but supporting Ecmascript 3 is just a one line change.

See Ecmascript 3 spec, section 7.5.3: http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf

Yuicompressor fails to compress this file because 'char' is a "future reserved word". The fix contains equivalent functionality avoiding the bare 'char' word.

Ecmascript 5 dropped this reserved word, but supporting Ecmascript 3 is just a one line change.

See Ecmascript 3 spec, section 7.5.3: http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf
@wyuenho
Copy link
Contributor

wyuenho commented May 19, 2013

Thanks. Can you please change the ' to "? I'll merge as soon as you are ready.

@ivorbosloper
Copy link
Contributor Author

What do you mean? I'm still learning git and github. Should I create a pull request into another branch?

@wyuenho
Copy link
Contributor

wyuenho commented May 19, 2013

No just change the ' to ", commit and push. The changes will show up immediately here.

wyuenho added a commit that referenced this pull request May 19, 2013
@wyuenho wyuenho merged commit 3acb7af into cloudflarearchive:master May 19, 2013
@wyuenho
Copy link
Contributor

wyuenho commented May 19, 2013

Thank you!

@ivorbosloper
Copy link
Contributor Author

Thanks for backgrid, works great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants