Dan Abramov
a1b326a0ab
Use object lookup instead of array
2015-01-15 03:51:22 +03:00
Dan Abramov
a452f781b8
Slightly refactor and add explanations for optimized functions
2015-01-15 03:39:24 +03:00
Lee Byron
e5463cc2a9
Improve performance of rest parameter.
...
Rather than initing an empty array and filling, create an array of the correct size up-front. Minor gain on chromium, but considerably (~5x) faster in spidermonkey/firefox.
2015-01-14 19:08:14 -05:00
Lee Byron
7d732ef503
Update CONTRIBUTING.md
2015-01-14 19:01:53 -05:00
Lee Byron
25cb0c6344
Update CONTRIBUTING.md
...
Explain git init submodules step when checking out
2015-01-14 18:23:49 -05:00
Sebastian McKenzie
45a52bf478
Merge pull request #496 from swirlycheetah/master
...
Expand upon the contributing guidelines
2015-01-15 09:41:12 +11:00
Chris Wheatley
a14f971b8a
add further commands required for workflow
2015-01-14 22:25:20 +00:00
Chris Wheatley
da65500545
expand upon the contributing guidelines
2015-01-14 22:11:46 +00:00
Ingvar Stepanyan
f6c45ac59f
Re-read only number or string after "use strict".
...
Fixes double-entering same tokContext for various parentheses.
2015-01-14 23:10:10 +02:00
Dan Abramov
58a91ee9e9
Optimize node type lookup
2015-01-14 23:01:58 +03:00
Dan Abramov
19eaa181a5
Speed up common case where consumer moves only forward
2015-01-14 20:02:40 +03:00
Dan Abramov
c7c90acf3f
Store ranges instead of line indexes for performance
2015-01-14 19:14:47 +03:00
Dan Abramov
c6f3a55c03
Refactor buffer for clarity and avoid regex for performance
2015-01-14 19:14:47 +03:00
Sebastian McKenzie
f3299fa88d
v0.11.1-16
2015-01-15 02:44:52 +11:00
Sebastian McKenzie
886d84c18c
limit memoisation assignment operator to playground mode
2015-01-15 02:44:15 +11:00
Sebastian McKenzie
e01b7d288f
v2.12.3
v2.12.3
2015-01-15 02:29:44 +11:00
Sebastian McKenzie
98c0e185b8
add missing semicolon
2015-01-15 02:27:45 +11:00
Sebastian McKenzie
bf66d78210
add 2.12.3 changelog
2015-01-15 02:27:17 +11:00
Sebastian McKenzie
b60eca0a76
better typeof symbol transformer
2015-01-15 02:24:32 +11:00
Sebastian McKenzie
44f06c0b4c
instance and static class method names
2015-01-15 02:24:23 +11:00
Sebastian McKenzie
6c5606b7e8
call transformer methods on traverse context
2015-01-15 02:24:05 +11:00
Sebastian McKenzie
07ddfbeb5d
remove pointless prototypeProperties helper call
2015-01-15 01:20:06 +11:00
Sebastian McKenzie
87b890c172
fix parentheses deletion not support multilines - fixes #490
2015-01-15 01:14:49 +11:00
Sebastian McKenzie
245fcfe110
move mutator map checking to after loose test
2015-01-15 01:09:13 +11:00
Sebastian McKenzie
bb19f24923
remove roadrunner from 6to5-node
2015-01-15 01:08:12 +11:00
Ingvar Stepanyan
d34aea63ab
Update tests.
2015-01-14 12:36:25 +02:00
Ingvar Stepanyan
e7beee177d
Remove deprecated ComprehensionBlock.of property.
...
Comprehensions were moved to ES7 anyway, so there is no sense
in keeping intermediate no-more-supported syntax.
2015-01-14 12:35:00 +02:00
Ingvar Stepanyan
7e85da74cb
shouldSkipSpace is no more needed in finishToken.
2015-01-14 12:31:59 +02:00
Ingvar Stepanyan
ad9411d2ae
Made tokenize() compliant with ES6 iterables for easier processing.
2015-01-14 12:29:20 +02:00
Ingvar Stepanyan
802c4cd8cb
Initial rewrite of JSX parser onto new tokenizer (all tests passing).
2015-01-14 12:18:08 +02:00
Sebastian McKenzie
4744719040
v2.12.2
v2.12.2
2015-01-14 18:48:29 +11:00
Sebastian McKenzie
a3b814a897
fix default parameters closure scope
2015-01-14 18:46:36 +11:00
Sebastian McKenzie
f5f17f0ccb
ignore function params, rest and catch clauses - webpack/webpack#688
2015-01-14 18:39:07 +11:00
Sebastian McKenzie
f6a2acdfb1
v2.12.1
v2.12.1
2015-01-14 18:06:51 +11:00
Sebastian McKenzie
e8dba2ad1e
add 2.12.1 changelog
2015-01-14 18:05:11 +11:00
Sebastian McKenzie
8ce5c5b608
add jsx to possible extensions
2015-01-14 18:04:14 +11:00
Sebastian McKenzie
0cbcbc60de
allow imports and exports everywhere in loose mode
2015-01-14 15:21:45 +11:00
Sebastian McKenzie
f33cd7184f
add jsx to possible extensions
2015-01-14 15:09:15 +11:00
Sebastian McKenzie
59d6400eb9
remove ignoreRegex fallback
2015-01-14 15:06:12 +11:00
Sebastian McKenzie
5c575ebf8f
remove fast transformer backwards compatibility
2015-01-14 14:58:15 +11:00
Sebastian McKenzie
274205bccd
Merge branch 'master' into 3.0.0
...
Conflicts:
CHANGELOG.md
package.json
2015-01-14 14:56:55 +11:00
Sebastian McKenzie
e85c9b633a
enable require hook cache by default - shove it into into a temp directory - don't cache require resolutions
2015-01-14 14:55:30 +11:00
Sebastian McKenzie
0dfea1a51b
update notes
2015-01-14 14:54:31 +11:00
Sebastian McKenzie
a4e528e2b3
v2.12.0
v2.12.0
2015-01-14 10:14:14 +11:00
Sebastian McKenzie
99ca9b7e9a
fix linting errors
2015-01-14 10:12:11 +11:00
Sebastian McKenzie
313e932e7c
fix linting errors
2015-01-14 10:11:41 +11:00
Sebastian McKenzie
6a57a4e565
fix linting errors
2015-01-14 10:11:07 +11:00
Sebastian McKenzie
fc3a5f25fb
add 2.12.0 changelog
2015-01-14 10:09:47 +11:00
Sebastian McKenzie
e258b85420
clean up loose template literals
2015-01-14 08:55:24 +11:00
Marijn Haverbeke
0f55a53a7d
[loose parser] Fetch token before comment when tokenizer raises unterminated comment error
...
Closes #197
2015-01-13 22:18:55 +01:00