react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
15 lines (12 loc) • 325 B
JavaScript
var define = require('define-properties');
var getPolyfill = require('./polyfill');
module.exports = function shimArrayPrototypeMap() {
var polyfill = getPolyfill();
define(
Array.prototype,
{ map: polyfill },
{ map: function () { return Array.prototype.map !== polyfill; } }
);
return polyfill;
};
;