From 96fd9c345a3a9f491bd55daa1268a21162bc0cde 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 | 3 ++- yarn.lock | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) 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 b4d81d603..2364b0480 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,8 @@ "webpack-cli": "^3.0.8", "webpack-manifest-plugin": "^2.0.3", "webpack-merge": "^4.1.3", - "websocket.js": "^0.1.12" + "websocket.js": "^0.1.12", + "what-input": "^4.3.1" }, "devDependencies": { "babel-eslint": "^8.2.6", diff --git a/yarn.lock b/yarn.lock index e558ea664..095116059 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8622,6 +8622,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: version "1.0.3" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.3.tgz#57c235bc8657e914d24e1a397d3c82daee0a6ba3"