Sebastian McKenzie
60dae7a88d
add build comprehension helper
2015-01-15 20:13:24 +11:00
Sebastian McKenzie
790c924b54
abstract out build comprehension helper
2015-01-15 20:13:16 +11:00
Sebastian McKenzie
50d7a46c7f
abstract away remap async to generator helper
2015-01-15 20:09:50 +11:00
Sebastian McKenzie
6f7da38957
abstract out named method helper
2015-01-15 20:07:32 +11:00
Sebastian McKenzie
80764c214a
add rest parameter comments
2015-01-15 19:52:53 +11:00
Sebastian McKenzie
55054e45da
Revert "Improve performance of rest parameter."
...
This reverts commit e5463cc2a97cafbf9d35656038f19b45dd75ffce.
2015-01-15 19:34:33 +11:00
Sebastian McKenzie
060aa5ba0b
fix rest parameter check in types.isReferenced
2015-01-15 19:29:54 +11:00
Sebastian McKenzie
688d619bfe
add identifier check to class id inheritance
2015-01-15 19:29:54 +11:00
Sebastian McKenzie
6db7fce543
fix computed member expressions in playground memoization
2015-01-15 19:29:54 +11:00
Sebastian McKenzie
1c6eeba2e9
Merge pull request #499 from leebyron/rest
...
Improve performance of rest parameter.
2015-01-15 19:28:32 +11:00
Dan Abramov
1002cf7796
Avoid Node allocations by making prototype call statics
2015-01-15 04:18:18 +03:00
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
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
98c0e185b8
add missing semicolon
2015-01-15 02:27:45 +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
245fcfe110
move mutator map checking to after loose test
2015-01-15 01:09:13 +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
8ce5c5b608
add jsx to possible extensions
2015-01-14 18:04: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
e258b85420
clean up loose template literals
2015-01-14 08:55:24 +11:00
Sebastian McKenzie
fe6f53d471
Merge pull request #480 from monsanto/loose-templates
...
Add loose transform for tagged template literals
2015-01-14 07:54:19 +11:00
Sebastian McKenzie
3b259c6b1e
clean up 6to5 register-browser
2015-01-14 07:31:51 +11:00
Sebastian McKenzie
2005df3fa2
support non-string jsx literals - fixes #479
2015-01-14 07:31:28 +11:00
Christopher Monsanto
4fdcf685d3
add loose transform for tagged template literals
2015-01-13 14:48:31 -05:00
Sebastian McKenzie
afd3af834d
add loose option to computed property names
2015-01-14 00:35:45 +11:00
Sebastian McKenzie
8afec8b12a
rename fast mode to loose #465
2015-01-14 00:24:34 +11:00
Sebastian McKenzie
f25ed0b5de
add minimum of 1 newline after line comments - fixes #442 and fixes #477
2015-01-13 23:27:52 +11:00
Sebastian McKenzie
bd2fa77446
fix fast forOf and add tests
2015-01-13 23:18:46 +11:00
Sebastian McKenzie
1c2bafe0e1
use assignment instead of define for fast classes
2015-01-13 23:18:38 +11:00
Sebastian McKenzie
70eae9f6ce
remove functions inside of loops
2015-01-13 22:18:58 +11:00
Sebastian McKenzie
0f55a66f5b
add "fast" option for transformers
2015-01-13 22:02:04 +11:00
Sebastian McKenzie
b2dc560a2d
allow a string to be passed as the optional option
2015-01-13 14:33:18 +11:00
Amjad Masad
e07e74f010
Handle esprima-like AST catch clause in a TryStatement. Fixes #473
2015-01-12 17:32:02 -05:00
Christopher Monsanto
6f5270f38f
remove Dict from core aliasable constructors
2015-01-12 14:00:43 -05:00
Charles Lavery
9361470dc7
remove console.log from react transforms
2015-01-12 13:19:32 -05:00
Sebastian McKenzie
2e497eef98
fix linting errors
2015-01-13 01:51:21 +11:00
Sebastian McKenzie
eabbcd31ad
add comments to ambiguous code
2015-01-13 01:50:30 +11:00
Sebastian McKenzie
17d198f3d6
Merge pull request #468 from AluisioASG/core-aliasable
...
Whitelist constructors aliasable to core-js
2015-01-13 01:46:19 +11:00
Aluísio Augusto Silva Gonçalves
afd5376c8d
Whitelist constructors aliasable to core-js
...
Expand the list of identifiers for which we substitute `_core.<Something>`
for `<Something>`. Also an alternative fix for #421 .
2015-01-12 12:29:37 -02:00
Sebastian McKenzie
02a50c9f7e
fix unnecessary default parameter iife - fixes #251
2015-01-13 01:16:00 +11:00