Sebastian McKenzie
|
795e38e4f4
|
add Statement node type
|
2014-11-07 20:46:43 +11:00 |
|
Sebastian McKenzie
|
2a9af21e93
|
add modules ignore tests
|
2014-11-07 20:46:20 +11:00 |
|
Sebastian McKenzie
|
e327e041ab
|
add basic generation tests
|
2014-11-07 20:46:11 +11:00 |
|
Sebastian McKenzie
|
f8e8cd3979
|
support SpreadElement in destructuring - fixes #128
|
2014-11-07 20:46:02 +11:00 |
|
Sebastian McKenzie
|
b3206d94a6
|
Merge branch 'master' into experimental
Conflicts:
README.md
lib/6to5/register.js
|
2014-11-07 13:54:59 +11:00 |
|
Sebastian McKenzie
|
fcbd315bc1
|
v1.10.12
v1.10.12
|
2014-11-07 13:53:15 +11:00 |
|
Sebastian McKenzie
|
71646f4ade
|
register: fix ignoreRegex compatibility check
|
2014-11-07 13:52:13 +11:00 |
|
Sebastian McKenzie
|
56ac964e54
|
remove newline assurance and add optional Error constructor to File::errorWithNode
|
2014-11-07 13:51:31 +11:00 |
|
Sebastian McKenzie
|
e5f1eb64b6
|
clarify default ignore in 6to5/register
|
2014-11-07 13:41:24 +11:00 |
|
Sebastian McKenzie
|
6145f0a03b
|
v1.10.11
v1.10.11
|
2014-11-07 13:17:41 +11:00 |
|
Sebastian McKenzie
|
54f901f131
|
require: add missing blacklistTests, implement opts.whitelist and opts.only - closes #125
Conflicts:
lib/6to5/register.js
|
2014-11-07 13:16:26 +11:00 |
|
Sebastian McKenzie
|
df70be4ebb
|
clean up and fix tests
|
2014-11-07 12:33:35 +11:00 |
|
Sebastian McKenzie
|
99ba77bb0b
|
nicer removeProperties for comments
|
2014-11-07 12:33:22 +11:00 |
|
Sebastian McKenzie
|
346f72be05
|
ensure files end with a newline
|
2014-11-07 12:32:48 +11:00 |
|
Sebastian McKenzie
|
c0e6cda071
|
add UserWhitespacable alias to Property
|
2014-11-07 12:32:31 +11:00 |
|
Sebastian McKenzie
|
c054ff7bbb
|
better whitespace detection in generator
|
2014-11-07 12:32:15 +11:00 |
|
Sebastian McKenzie
|
771d3dc8a0
|
don't inherit from XJSAttribute in jsx transformer because it causes some weird whitespace issues
|
2014-11-07 12:31:54 +11:00 |
|
Sebastian McKenzie
|
e8d4806b45
|
combine export declaration assignments into variable declarations
|
2014-11-07 12:31:31 +11:00 |
|
Sebastian McKenzie
|
469a522300
|
better whitespace for code generation
|
2014-11-07 12:31:09 +11:00 |
|
Sebastian McKenzie
|
4068a8bf68
|
remove exposure to generator from browser build
|
2014-11-07 12:30:29 +11:00 |
|
Sebastian McKenzie
|
a04513a3c7
|
faster util.pushMutatorMap aliases
|
2014-11-07 12:28:52 +11:00 |
|
Sebastian McKenzie
|
6f0ca947a7
|
remove exposure to generate and util
|
2014-11-07 12:28:28 +11:00 |
|
Sebastian McKenzie
|
dd62244e10
|
use v8-argv to make sure node is ran with --harmony for 6to5-node
|
2014-11-07 12:28:17 +11:00 |
|
Sebastian McKenzie
|
12f68b05c3
|
better Symbol polyfill existence check because the one es6-symbol uses isn't reliable
|
2014-11-07 12:27:57 +11:00 |
|
Sebastian McKenzie
|
62fe128132
|
more support to t.getIds and add t.needsWhitespaceBefore method
|
2014-11-07 12:26:48 +11:00 |
|
Sebastian McKenzie
|
bf632ca20b
|
more efficient constants collision checking
|
2014-11-07 12:26:19 +11:00 |
|
Sebastian McKenzie
|
26428cde41
|
require: add missing blacklistTests, implement opts.whitelist and opts.only - closes #125
|
2014-11-07 12:25:42 +11:00 |
|
Sebastian McKenzie
|
9bb8a16d93
|
change polyfill to monkey patch in browser comment
|
2014-11-05 15:22:17 +11:00 |
|
Sebastian McKenzie
|
44cd044586
|
add duo and karma plugins to readme - thanks @shuhei and @bd-labs!
|
2014-11-05 15:22:07 +11:00 |
|
Sebastian McKenzie
|
765899a521
|
use push instead of _push for first backtick in template literals
|
2014-11-04 18:37:00 +11:00 |
|
Sebastian McKenzie
|
1d40cac52f
|
let ExpressionStatements handle child comments
|
2014-11-04 18:34:21 +11:00 |
|
Sebastian McKenzie
|
fb0325a4d8
|
add support for SpreadElement to types.getIds
|
2014-11-04 18:33:48 +11:00 |
|
Sebastian McKenzie
|
1df25a633c
|
fix code reference on generate
|
2014-11-04 18:33:33 +11:00 |
|
Sebastian McKenzie
|
cfbaae456b
|
use _push instead of push on template literals end
|
2014-11-04 18:32:51 +11:00 |
|
Sebastian McKenzie
|
95ace3220d
|
fix indentation on generation comments tests
|
2014-11-04 18:32:30 +11:00 |
|
Sebastian McKenzie
|
2e0f3de72c
|
add missing util require
|
2014-11-04 18:07:28 +11:00 |
|
Sebastian McKenzie
|
732c21d42a
|
clean up some tests
|
2014-11-04 18:07:19 +11:00 |
|
Sebastian McKenzie
|
a535007a35
|
clean up let scoping transformer and add lots of comments
|
2014-11-04 18:06:54 +11:00 |
|
Sebastian McKenzie
|
5ff6f445b2
|
fix class computed methods
|
2014-11-04 15:53:36 +11:00 |
|
Sebastian McKenzie
|
d7ae3b506a
|
fix linting errors
|
2014-11-04 15:53:11 +11:00 |
|
Sebastian McKenzie
|
287cbbb6a1
|
implement new and improved let scoping - fixes #91, fixes #102, fixes #124
|
2014-11-04 14:59:44 +11:00 |
|
Sebastian McKenzie
|
d1088583ba
|
default generateUid scope to Program
|
2014-11-04 12:57:06 +11:00 |
|
Sebastian McKenzie
|
c967cded78
|
make id optional in t.getIds
|
2014-11-04 12:56:53 +11:00 |
|
Sebastian McKenzie
|
71d87f5b97
|
cache scope ids and limit id variable declarations to kind
|
2014-11-04 12:56:37 +11:00 |
|
Sebastian McKenzie
|
56271efada
|
pass scope to transformers
|
2014-11-04 12:48:08 +11:00 |
|
Sebastian McKenzie
|
89fbb06658
|
simplify VariableDeclaration ForStatement check
|
2014-11-04 12:47:56 +11:00 |
|
Sebastian McKenzie
|
43ee3b77f3
|
add SequenceExpression and UnaryExpression builders
|
2014-11-04 12:47:39 +11:00 |
|
Sebastian McKenzie
|
9ef826b53e
|
move visitor-keys from traverse to types
|
2014-11-04 12:47:27 +11:00 |
|
Sebastian McKenzie
|
6519ceaa63
|
move util.getIds to types.getIds
|
2014-11-04 12:47:03 +11:00 |
|
Sebastian McKenzie
|
d28496006e
|
implement Scope so we can keep track of references to avoid collisions when generating ids
|
2014-11-04 12:46:47 +11:00 |
|