Proposal: Merge PR88

11 views
Skip to first unread message

Joey Smith

unread,
May 31, 2013, 6:45:39 PM5/31/13
to yuicom...@googlegroups.com

This addresses issue #86 (https://github.com/yui/yuicompressor/issues/86) by looking one token ahead on numbers; if it finds a DOT token, it will prepend a '.' to the number so that the JS engine doesn't try to treat whatever follows the DOT token as part of a float. The PR also includes a test for this case.

(Note: PR87 was cancelled because I included more in the PR than I intended to)

Joey Smith

unread,
Jun 12, 2013, 2:58:55 AM6/12/13
to yuicom...@googlegroups.com
Merged (lazy consensus).
Reply all
Reply to author
Forward
0 new messages