From 3d5943d761278a1bc02c1b73db6ef0157ba1b1e3 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 26 Oct 2017 22:44:57 -0700 Subject: [PATCH] Add whatinput dependency for more responsive focus styling --- app/javascript/packs/application.js | 2 ++ package.json | 1 + yarn.lock | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index c65ebed74..cee0d85bc 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -8,3 +8,5 @@ loadPolyfills().then(() => { }).catch(e => { console.error(e); }); + +require('what-input'); diff --git a/package.json b/package.json index 5fa6fa8b7..c1553f952 100644 --- a/package.json +++ b/package.json @@ -135,6 +135,7 @@ "webpack-cli": "^3.1.2", "webpack-merge": "^4.1.5", "websocket.js": "^0.1.12" + "what-input": "^4.3.1" }, "devDependencies": { "babel-eslint": "^10.0.1", diff --git a/yarn.lock b/yarn.lock index 9ff12a712..32eac7340 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9607,6 +9607,10 @@ websocket.js@^0.1.12: dependencies: backoff "^2.4.1" +what-input@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/what-input/-/what-input-4.3.1.tgz#b8ea7554ba1d9171887c4c6addf28185fec3d31d" + whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"