Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
28 lines
769 B
JavaScript
28 lines
769 B
JavaScript
'use strict';
|
|
|
|
var define = require('define-properties');
|
|
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
|
|
var callBind = require('call-bind');
|
|
var callBound = require('call-bound');
|
|
|
|
var implementation = require('./implementation');
|
|
var getPolyfill = require('./polyfill');
|
|
var polyfill = callBind.apply(getPolyfill());
|
|
var shim = require('./shim');
|
|
|
|
var $slice = callBound('Array.prototype.slice');
|
|
|
|
/* eslint-disable no-unused-vars */
|
|
var boundShim = function includes(array, searchElement) {
|
|
/* eslint-enable no-unused-vars */
|
|
RequireObjectCoercible(array);
|
|
return polyfill(array, $slice(arguments, 1));
|
|
};
|
|
define(boundShim, {
|
|
getPolyfill: getPolyfill,
|
|
implementation: implementation,
|
|
shim: shim
|
|
});
|
|
|
|
module.exports = boundShim;
|