It needs to be an ES6-compatible polyfill, and yes I would like it included. I consider localforage a drop-in library. If users install localforage from component as-is, they’ll get an error. Installation should be error-free ^_^
- tofumatt


On April 22, 2014 at 12:50:17, PG Herveou (notifications@github.com) wrote:

In test/test.component.html:

> @@ -0,0 +1,15 @@
> +<!doctype html>
> +<html>
> +  <head>
> +    <meta charset="utf-8">
> +    <title>Component Test</title>
> +  </head>
> +  <body>
> +    <div class="status"></div>
> +    <script src="../bower_components/es6-promise/promise.js"></script>
That would break, if you don't include a Promise polyfill..
I thought it would be better to let component user include the promise polyfill of their choice (I personally use https://github.com/then/promise).
I can add the dependency if you prefer.

—
Reply to this email directly or view it on GitHub.