index.js 419 B

12345678910111213141516171819
  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 polyfill = getPolyfill();
  7. var shim = require('./shim');
  8. var boundFlatMap = callBind(polyfill);
  9. define(boundFlatMap, {
  10. getPolyfill: getPolyfill,
  11. implementation: implementation,
  12. shim: shim
  13. });
  14. module.exports = boundFlatMap;