Sha256: 8f281302ab549a93ce89779769c36451984cd6a981e560542b736a3501d7b09d
Contents?: true
Size: 700 Bytes
Versions: 2
Compression:
Stored size: 700 Bytes
Contents
//= require jquery //= require jquery_ujs // from: node_modules/bootstrap/dist/js/bootstrap.bundle.js //= require ./bootstrap/bootstrap.bundle // from: node_modules/flatpickr/dist/flatpickr.js //= require ./flatpickr/flatpickr //= require selectize document.addEventListener('DOMContentLoaded', function(_event) { if(typeof window.flatpickr === 'function') { var options = window.flatpickr_filters_options; if(typeof options !== 'object') options = { enableTime: true }; $('[data-type="date"]').flatpickr(options); } $('.field-unit--belongs-to select').selectize({}); $('.field-unit--has-many select').selectize({}); $('.field-unit--polymorphic select').selectize({}); });
Version data entries
2 entries across 2 versions & 1 rubygems