index.js 408 B

12345678910111213141516171819
  1. 'use strict';
  2. var defineProperties = require('define-properties');
  3. var implementation = require('./implementation');
  4. var getPolyfill = require('./polyfill');
  5. var shim = require('./shim');
  6. var polyfill = getPolyfill();
  7. var getGlobal = function () { return polyfill; };
  8. defineProperties(getGlobal, {
  9. getPolyfill: getPolyfill,
  10. implementation: implementation,
  11. shim: shim
  12. });
  13. module.exports = getGlobal;