Sha256: 7c481f4ad1ee4b33e2547d168a88574ec83780583459aec30e03fd3fd0eee14f

Contents?: true

Size: 578 Bytes

Versions: 14

Compression:

Stored size: 578 Bytes

Contents

//= require turbolinks
//= require observejs
//= require_tree ./admin
//= require_tree ./vendor
//= require_tree ./shared

// Not loading this with ObserveJS cuz the layout
// would require to declare a class for it to load.
var script = document.getElementsByTagName('script');

script = script[script.length - 1];

if (script) {
  Prism.filename = script.src;

  if (document.addEventListener && !script.hasAttribute('data-manual')) {
    document.addEventListener('DOMContentLoaded', Prism.highlightAll);
    document.addEventListener('page:load', Prism.highlightAll);
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ecrire-0.30.3 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.30.2 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.30.1 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.30.0 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.29.0 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.28.3 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.28.2 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.28.1 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.28.0 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.27.0 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.26.3 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.26.2 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.26.1 lib/ecrire/app/assets/javascripts/admin.js
ecrire-0.26.0 lib/ecrire/app/assets/javascripts/admin.js