karma-es6-shim
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "karma-es6-shim", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "es6-shim adapter for Karma", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -59,1 +59,16 @@ karma-es6-shim | ||
We have supplied an example repository at [https://github.com/radify/karma-es6-shim-example](github.com/radify/karma-es6-shim-example). | ||
When to use this and when not to | ||
-------------------------------- | ||
Use it if you meet all the following criteria: | ||
* You are using PhantomJS in Karma to test ES6 | ||
* You use the es6-shim polyfill in your HTML | ||
* You need to use AMD-based module loading | ||
Do not use it if: | ||
* You can [work around it using Babel's transform](https://github.com/babel/babel/issues/377) | ||
* You are polyfilling in some other way that is accessible to PhantomJS in Karma | ||
Sorry, the diff of this file is not supported yet
22102
74