lahmatiy / es6-promise-polyfill Goto Github PK
View Code? Open in Web Editor NEWES6 Promise polyfill
License: MIT License
ES6 Promise polyfill
License: MIT License
Hi!
I want to use your package, but since it is MIT licensed and your .js files does not have mention of license in them, I can't just throw them in my project and use, since MIT states that
A copy of the license and copyright notice must be included with the software.
Can you add something like
/*!
* @overview es6-promise-polyfill - polyfill of ES6 Promise that is minimal as possible in size
* @copyright Copyright (c) 2014 Roman Dvornov
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/lahmatiy/es6-promise-polyfill/master/LICENSE
* @version v1.2.0
*/
Thank you!
There are no instructions in README.md and no script in package.json to minify promise.js (-> promise.min.js).
The LICENSE file is not included in the NPM package of version 1.0.0. Unfortunately, this is a major issue that precludes usage of the module by our "BigCorp".
Not issue actually, just to keep note and relation to:
new Promise(function(){throw 'test ex'});
I test it in ie9 Emulation. But no error throw.
Maybe a error can be throwed this way:
// some things bad happen, catched in `ex`
// now throw it
setTimeout(function(){throw ex},0);
I try to find where to insert these. But it's a little complex. Lots of callback >_<.
I'm considering using this library in a Firefox Addon, but because of the last line my addon will be rejected by Mozilla Addon reviewers, as it is using eval
.
Is there a special reason for that ?
Why not typeof global != 'undefined' ? global : this
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.