From 8e8d05e9c7e676e0374899519e3c0acfc35c9673 Mon Sep 17 00:00:00 2001 From: Romain Racamier Date: Wed, 16 Dec 2020 10:31:19 +0100 Subject: [PATCH] add a compatibility section IE11 need only 2 polyfills to work with Pristine --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cb2ffdd..17b6070 100644 --- a/README.md +++ b/README.md @@ -247,6 +247,10 @@ Add an attribute like `data-pristine--message`with the custom mes > The goal of this library is not to provide every possible type of validation and thus becoming a bloat. > The goal is to provide most common types of validations and a neat way to add custom validators. +## Compatibility + +- IE 11 : add the `Array.from` & `String.prototype.endsWith` polyfills or use [this link](https://polyfill.io/v3/polyfill.min.js?features=Array.from%2CString.prototype.endsWith) thanks to Polyfill.io + ## License [MIT](http://opensource.org/licenses/MIT)