Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es6-promise.umd.js 500B

123456789101112131415161718
  1. import Promise from './es6-promise/promise';
  2. import polyfill from './es6-promise/polyfill';
  3. var ES6Promise = {
  4. 'Promise': Promise,
  5. 'polyfill': polyfill
  6. };
  7. /* global define:true module:true window: true */
  8. if (typeof define === 'function' && define['amd']) {
  9. define(function() { return ES6Promise; });
  10. } else if (typeof module !== 'undefined' && module['exports']) {
  11. module['exports'] = ES6Promise;
  12. } else if (typeof this !== 'undefined') {
  13. this['ES6Promise'] = ES6Promise;
  14. }
  15. polyfill();