Commit 205f8f0f authored by Michael Rose's avatar Michael Rose

js: hack to fix modals

parent c26bcbb4
......@@ -7,9 +7,11 @@
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
// layout file, like app/views/layouts/application.html.erb
window.$ = window.jQuery = require("jquery");
// window.$ = window.jQuery = require("jquery");
require('chosen-jquery/lib/chosen.jquery');
import {} from 'jquery-ujs'
// import 'expose-loader?$!jquery';
// import 'expose-loader?jQuery!jquery'
window.init = function() {
......
......@@ -6,6 +6,7 @@
"chosen-js": "^1.8.3",
"coffee-loader": "^0.9.0",
"coffeescript": "^2.2.2",
"expose-loader": "^0.7.5",
"font-awesome": "^4.7.0",
"jquery": "^3.3.1",
"jquery-ujs": "^1.2.2",
......
......@@ -2038,6 +2038,10 @@ expand-range@^1.8.1:
dependencies:
fill-range "^2.1.0"
expose-loader@^0.7.5:
version "0.7.5"
resolved "https://registry.yarnpkg.com/expose-loader/-/expose-loader-0.7.5.tgz#e29ea2d9aeeed3254a3faa1b35f502db9f9c3f6f"
express@^4.16.2:
version "4.16.3"
resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment