Commit Graph

18 Commits

Author SHA1 Message Date
Ben Newman
8d291365f0 Export some ECMAScript utilities on the server. 2015-08-13 20:01:01 -04:00
Ben Newman
6681b41ddb Rename ecmascript-containers to ecmascript-collections. 2015-08-05 09:05:28 -04:00
Ben Newman
886ab5d70b Remove unnecessary version constraints from ecmascript implications. 2015-08-04 19:15:48 -04:00
Ben Newman
b89a6054e7 Provide Map and Set collections with the ecmascript package. 2015-08-04 18:58:25 -04:00
Ben Newman
5e4ed8eb28 Fix IE8 for-in loops using babelHelpers.sanitizeForInObject.
Upgraded meteor-babel to 0.5.4 for sanitizeForInObject support.
2015-08-03 20:40:11 -04:00
Slava Kim
bdd3ef6686 bump versions for PLUGINS-PREVIEW@2 2015-07-27 09:45:22 -07:00
Ben Newman
ba0aa4d709 Avoid _.extend in IE8-sensitive ecmascript tests.
The underlying problem is that `es5-shim` polyfills `Array.prototype`
methods in IE8, but it can't actually make them non-enumerable, so
`_.extend` copies them, because it doesn't check `hasOwnProperty`.

This probably calls for a more general audit of for-in loops over objects
that could be Arrays, especially within underscore.
2015-07-24 16:54:16 -04:00
Ben Newman
c2d8a1b6c4 Upgrade meteor-babel and enable jscript plugin for client-side code.
The jscript plugin works around various limitations of older Internet
Explorer versions, in particular those described here:
http://kiro.me/blog/nfe_dilemma.html
2015-07-23 14:39:18 -04:00
David Glasser
43b4b30205 Release PLUGINS-PREVIEW@1
This included removing some internal version constraints. It would be
nice if package A could say "use B@2.0.0" (when both have changed), but
when they're both in the release, we need to make a release that has a
B@2.0.0-rc in it, which doesn't match that constraint. Fortunately,
constraints aren't necessary within a release anyway.
2015-07-22 23:19:11 -07:00
Ben Newman
09f67395af Fix Match pattern in babel-compiler/babel.js. 2015-07-22 10:21:32 -04:00
Ben Newman
155d3aef1a Make ecmascript depend on latest babel-compiler and promise packages. 2015-07-21 22:04:34 -04:00
Ben Newman
14969a6c5b Decompose a promise package from the ecmascript package. 2015-07-21 00:29:48 -04:00
David Greenspan
d0c192a141 Bring babel-tests unit tests into ecmascript 2015-07-19 16:14:06 -07:00
Ben Newman
6031df4b52 Print better errors when ecmascript compilation fails. 2015-07-16 22:54:24 -04:00
Sashko Stubailo
c3f3520455 Add all of the shrinkwrap files 2015-07-16 19:48:32 -07:00
Ben Newman
b75c8403b0 Add basic sanity-checking tests of the ecmascript package. 2015-07-16 18:02:08 -04:00
Ben Newman
e77681df8c Polyfill Promise constructor for ecmascript-dependent apps/packages.
I'm going to hold off on adding polyfills for Map and Set until we've had
a chance to try them out in tool code.
2015-07-16 18:02:08 -04:00
Ben Newman
095ded40b0 Add an ecmascript core package.
This package will be installed by default for all new apps and packages.

Passing the {transpile:false} option to api.addFiles makes it possible for
a dependent package to specify that some files should not be processed
through babel-compiler.
2015-07-16 18:02:07 -04:00