Sha256: ff98e79b91666898ebb819148ba2b3210415647d3a5263680fbdcea92530e589

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

//= require trestle/jquery
//= require trestle/jquery_ujs
//= require trestle/bootstrap
//= require trestle/bootstrap-confirmation
//= require trestle/magnific-popup
//= require trestle/flatpickr
//= require trestle/select2
//
//= require_self
//= require trestle/custom
//= require_tree .

var Trestle = window.Trestle = {};

Trestle.i18n = {};

if (typeof(Turbolinks) !== 'undefined' && Turbolinks.supported) {
  Trestle.ready = function(callback) { $(document).on('turbolinks:load', callback); };
  Trestle.visit = function(url) { Turbolinks.visit(url); };
} else {
  Trestle.ready = function(callback) { $(callback); };
  Trestle.visit = function(url) { document.location = url; };
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-0.8.5 app/assets/javascripts/trestle/admin.js
trestle-0.8.4 app/assets/javascripts/trestle/admin.js