index.js 390 B

123456789101112131415161718
  1. 'use strict';
  2. var define = require('define-properties');
  3. var callBind = require('call-bind');
  4. var implementation = require('./implementation');
  5. var getPolyfill = require('./polyfill');
  6. var shim = require('./shim');
  7. var polyfill = callBind(getPolyfill(), Object);
  8. define(polyfill, {
  9. getPolyfill: getPolyfill,
  10. implementation: implementation,
  11. shim: shim
  12. });
  13. module.exports = polyfill;