2020-12-24 18:33:49 -08:00
|
|
|
import 'core-js/stable'
|
|
|
|
import 'regenerator-runtime/runtime'
|
|
|
|
|
2020-12-25 12:53:14 -08:00
|
|
|
import '../legacy/jquery'
|
2021-02-26 13:41:46 -08:00
|
|
|
import 'popper.js'
|
|
|
|
import 'bootstrap'
|
2020-12-24 18:33:49 -08:00
|
|
|
import 'particleground/jquery.particleground.min'
|
|
|
|
|
2020-12-25 12:53:14 -08:00
|
|
|
import '../legacy/pagination'
|
|
|
|
import '../legacy/util'
|
2020-12-24 18:33:49 -08:00
|
|
|
|
2015-01-03 10:43:51 -08:00
|
|
|
_ready = ->
|
2022-01-13 13:51:04 -08:00
|
|
|
$('[data-toggle="tooltip"]').tooltip()
|
|
|
|
$('.dropdown-toggle').dropdown()
|
|
|
|
|
2015-05-26 22:41:38 -07:00
|
|
|
if document.getElementById('particles')?
|
2015-07-29 08:08:07 -07:00
|
|
|
jumbo = $ '.j2-jumbo'
|
|
|
|
bodyColorOrig = jumbo.css 'background-color'
|
|
|
|
bodyColor = doppler 0.25, bodyColorOrig
|
|
|
|
console.log bodyColor, bodyColorOrig
|
2015-05-26 22:41:38 -07:00
|
|
|
particleground document.getElementById('particles'),
|
2015-07-29 08:08:07 -07:00
|
|
|
dotColor: bodyColor
|
|
|
|
lineColor: bodyColor
|
2015-09-20 06:16:24 -07:00
|
|
|
density: 23000
|
2015-05-12 14:53:42 -07:00
|
|
|
|
2015-01-03 10:43:51 -08:00
|
|
|
$(document).ready _ready
|
2022-01-13 13:51:04 -08:00
|
|
|
$(document).on 'turbolinks:load', _ready
|