No Description

external.js 459B

12345678910111213141516171819
  1. /* global Promise */
  2. 'use strict';
  3. // load the global object first:
  4. // - it should be better integrated in the system (unhandledRejection in node)
  5. // - the environment may have a custom Promise implementation (see zone.js)
  6. var ES6Promise = null;
  7. if (typeof Promise !== "undefined") {
  8. ES6Promise = Promise;
  9. } else {
  10. ES6Promise = require("lie");
  11. }
  12. /**
  13. * Let the user use/change some implementations.
  14. */
  15. module.exports = {
  16. Promise: ES6Promise
  17. };