{"size": 1341, "ext": "js", "max_stars_repo_path": "www-cronrobot/app/javascript/packs/dashboard.js", "max_stars_repo_name": "martinlevesque/cronrobot", "max_stars_repo_stars_event_min_datetime": "2021-08-23T00:58:39.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-07T17:00:45.000Z", "max_issues_repo_path": "www-cronrobot/app/javascript/packs/dashboard.js", "max_issues_repo_name": "cronrobot/cronrobot", "max_issues_repo_issues_event_min_datetime": "2021-08-12T23:49:54.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-19T01:58:04.000Z", "max_forks_repo_path": "www-cronrobot/app/javascript/packs/dashboard.js", "max_forks_repo_name": "martinlevesque/cronrobot", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": 103, "max_forks_count": null, "avg_line_length": 36.2432432432, "max_line_length": 96, "alphanum_fraction": 0.7457121551}
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.

import '../stylesheets/dashboard'

require("@rails/ujs").start()
require("turbolinks").start()
require("@rails/activestorage").start()
require("channels")
window.cronstrue = require("cronstrue")

// bootstrap
//import "bootstrap"

// https://dev.to/yarotheslav/how-to-install-fontawesome-with-yarn-and-webpacker-in-rails-6-2k62
// import "@fortawesome/fontawesome-free/css/all"

//import "../stylesheets/application"

// Uncomment to copy all static images under ../images to the output folder and reference
// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
// or the `imagePath` JavaScript helper below.
//
// const images = require.context('../images', true)
// const imagePath = (name) => images(name, true)

window.formHide = function formHide(id) {
    const customScheduleBlock = document.getElementById(id)
    customScheduleBlock.style.display = 'none'
}

window.formShow = function formHide(id) {
    const customScheduleBlock = document.getElementById(id)
    customScheduleBlock.style.display = ''
}