Sha256: 27f6f46f37402f85a6a057442121294ba9644b75a8723b41de07b7fd1ae47fd0

Contents?: true

Size: 551 Bytes

Versions: 3

Compression:

Stored size: 551 Bytes

Contents

//= require turbolinks
//= require joint
//= require_tree ./vendor
//= require_tree ./shared
//

// Not loading this with JointJS 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

3 entries across 3 versions & 1 rubygems

Version Path
ecrire-0.22.1 lib/ecrire/app/assets/javascripts/application.js
ecrire-0.21.0 lib/ecrire/app/assets/javascripts/application.js
ecrire-0.20.0 lib/ecrire/app/assets/javascripts/application.js