Sebastian McKenzie
3c258c4716
add proper ordering to function param logic - fixes #549
2015-01-21 10:17:52 +11:00
Sebastian McKenzie
f322252c36
add optional undeclared variable check transformer
2015-01-20 00:17:22 +11:00
Sebastian McKenzie
16b7ff972c
split up tdz into an optional transformer until it has a better implementation - fixes #527
2015-01-19 08:54:04 +11:00
Sebastian McKenzie
36a933a004
add strict mode to every file
2015-01-18 18:44:08 +11:00
Sebastian McKenzie
26395a86fa
add block scoped functions - fixes #514
2015-01-18 18:23:03 +11:00
Justin Ridgewell
616640a128
Playground Proposal: Mallet operator
...
The mallet operator is similar to the current memoization operator,
except it can be used outside of just objects.
In Ruby, it’s almost the same as `a = a || b`. Note that only `nil` and
`false` are falsey in Ruby. I’ve defined it as `== null`, though that
could be changed to any JS falsey value.
2015-01-16 18:57:15 -05:00
Sebastian McKenzie
0627cd94d4
turn array for ins into fors
2015-01-16 02:25:41 +11:00
Sebastian McKenzie
0f55a66f5b
add "fast" option for transformers
2015-01-13 22:02:04 +11:00
Sebastian McKenzie
d093dc8231
disallow setters without one parameter - fixes #455
2015-01-12 10:25:37 +11:00
Sebastian McKenzie
6131cea5b2
add classesFastSuper optional transformer - fixes #451
2015-01-12 10:19:22 +11:00
Christopher Monsanto
393d52088a
optional for-of transformer that puts arrays in fast path
2015-01-09 20:53:48 -05:00
Sebastian McKenzie
1536d3de91
Revert "add base optional object observe transformer"
...
This reverts commit b619e843a9ffae2376aafceeb7d0b47ac79f8ac7.
2015-01-09 21:18:55 +11:00
Sebastian McKenzie
b619e843a9
add base optional object observe transformer
2015-01-09 19:57:21 +11:00
Sebastian McKenzie
e1c7584280
fix computed accessors on objects
2015-01-08 23:11:58 +11:00
Sebastian McKenzie
611137c7d7
add umd strict and amd strict module formatter, also fix bug with wrong amd module constructor - fixes #415
2015-01-08 22:44:51 +11:00
Sebastian McKenzie
6240e5111f
add modules common strict formatter - fixes #418
2015-01-08 22:29:24 +11:00
Sebastian McKenzie
cd23e500a1
add back specNoForInOfAssignment transformer
2015-01-07 18:30:48 +11:00
Sebastian McKenzie
2c471968ea
remove specBlockHoistFunctions and specNoForInOfAssignment
2015-01-06 22:17:15 +11:00
Sebastian McKenzie
b9e4340700
better use strict handling inside of modules
2015-01-06 17:32:00 +11:00
Sebastian McKenzie
9bfb8c440a
add optional typeof symbol transformer
2015-01-05 00:06:57 +11:00
Sebastian McKenzie
35fda899a8
remove spec-no-duplicate-properties transformer
2015-01-04 15:30:40 +11:00
Sebastian McKenzie
324a0b408a
add optional protoToAssign transformer
2015-01-04 07:38:36 +11:00
Sebastian McKenzie
0e9eac610b
rename es5-property-methods-assignment to es6-property-method-assignment and add function ids to object methods and remap them if they contain a reference to themselves - fixes #308
2015-01-03 20:11:00 +11:00
Sebastian McKenzie
d43d5ff409
move coreAliasing and undefinedToVoid transformers down
2015-01-03 05:24:43 +11:00
Sebastian McKenzie
9529f93690
move useStrict transformer to after _moduleFormatter
2015-01-02 01:58:56 +11:00
Sebastian McKenzie
925b1f7600
add optional asyncToGenerator transformer - closes #321
2015-01-02 01:31:14 +11:00
Sebastian McKenzie
40f8bc0a65
add optional bluebird coroutine transformer - @phpnode
2015-01-02 01:20:28 +11:00
Sebastian McKenzie
7b5b8ab6ed
add undefinedToVoid optional transformer
2015-01-02 00:25:17 +11:00
Sebastian McKenzie
9ee7b07cbf
add corejs aliasing transformer and support for optional transformers
2015-01-01 20:01:09 +11:00
Sebastian McKenzie
e9445c9277
move spec transformers to bottom
2014-12-27 21:24:02 +11:00
Sebastian McKenzie
2a316bf362
move default parameters to after destructuring for param destructuring
2014-12-22 21:38:11 +11:00
Sebastian McKenzie
473b6d6a91
more microoptimizations
2014-12-15 22:35:58 +11:00
Sebastian McKenzie
778b4e3a27
remove commonStrict module formatter
2014-12-15 14:16:18 +11:00
Sebastian McKenzie
2fb6c7820c
microoptimizations
2014-12-15 13:59:54 +11:00
Sebastian McKenzie
c38428c536
make react transformer first
2014-12-14 12:18:14 +11:00
Sebastian McKenzie
74f40c2824
fix generator rest parameters
2014-12-11 11:02:55 +11:00
Sebastian McKenzie
8ffd2e843f
fix fromAst not passing ast to transform
2014-12-10 22:34:58 +11:00
Sebastian McKenzie
b986a4e482
expose ast transformer - fixes #263
2014-12-10 21:31:27 +11:00
Sebastian McKenzie
e6da342e8b
add a "spec" transformer namespace for transformers that nicen up code and make it well, more spec compliant
2014-12-10 21:09:58 +11:00
Sebastian McKenzie
a7a6ee80f2
add object getter memoization and this shorthand to playground
2014-12-06 19:37:23 +11:00
Sebastian McKenzie
3c808fcef2
merge pretzel maps and method binding
2014-11-26 17:23:33 +11:00
Sebastian McKenzie
be0d4b344b
add playground pretzel maps
2014-11-26 16:17:27 +11:00
Sebastian McKenzie
2527fffbad
merge memberExpressionKeywords and memberExpressionLiterals transformer
2014-11-26 10:46:32 +11:00
Sebastian McKenzie
d184bc93b9
add playground
2014-11-25 23:50:50 +11:00
Sebastian McKenzie
e5ce69d6af
clean up register module formatter and rename it to system
2014-11-24 10:19:06 +11:00
Douglas Duteil
c87e14f6a9
feat(modules): add "register" module type
...
Inspired by https://github.com/ModuleLoader/es6-module-loader/wiki/System.register-Explained
2014-11-23 22:54:01 +01:00
Sebastian McKenzie
fafdb1a18a
add exponentiation operator
2014-11-23 22:55:20 +11:00
Sebastian McKenzie
3447204d97
add experimental es7 object spread/rest - closes #200
2014-11-23 21:43:01 +11:00
Sebastian McKenzie
2b21f4b571
Merge branch 'master' into abstract-references
...
Conflicts:
lib/6to5/polyfill.js
2014-11-23 16:17:10 +11:00
Sebastian McKenzie
24d9833170
better categorisation of transformers
2014-11-23 16:15:39 +11:00