From 092b8a0e5dcf0fa5dba03e3cadc957425bf48e94 Mon Sep 17 00:00:00 2001 From: Brandon Johnson Date: Wed, 25 Oct 2017 15:59:39 -0600 Subject: [PATCH] Request Array.prototype.includes polyfill (#1287) Slate uses `Array.prototype.includes` in at least one place: https://github.com/ianstormtaylor/slate/blob/b558872/packages/slate/src/schemas/core.js#L62 So, request an `Array.prototype.includes` polyfill from polyfill.io if the user's browser needs it, which is the case with IE 11. Also requests minified JavaScript, since this code is used for the slatejs.org website, and there's no need to serve non-minified code there. --- examples/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/index.html b/examples/index.html index a8fd1615f..fe01dbb80 100644 --- a/examples/index.html +++ b/examples/index.html @@ -9,7 +9,7 @@
- +