Sha256: defa1baf66398ea7642f141b5bf9bc58138599ff2e41fea794f0163423717d02

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= require twitter/bootstrap
//= require turbolinks
//= require a-wysihtml5-0.3.0.min
//= require bootstrap-colorpicker
//= require moment
//= require moment/fr
//= require bootstrap-datetimepicker
//= require bootstrap-datetimepicker-for-beautiful-scaffold
//= require bootstrap-wysihtml5
//= require jquery.jstree
//= require tagit.js
//= require chardinjs
//= require jquery-barcode
//= require beautiful_scaffold
//= require fixed_menu

function initPage(){

    <!-- Insert your javascript here -->

    datetimepicker_init();
    bs_init();
    modify_dom_init();
}
$(function() {
    initPage();
    function startSpinner(){
      $('.loader').show();
    }
    function stopSpinner(){
      $('.loader').hide();
    }
    document.addEventListener("turbolinks:request-start", startSpinner);
    document.addEventListener("turbolinks:request-end", stopSpinner);
    document.addEventListener("turbolinks:render", stopSpinner);
});
$(window).bind('turbolinks:render', function() {
    initPage();
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beautiful_scaffold-1.0.2 lib/generators/templates/app/assets/javascripts/application-bs.js
beautiful_scaffold-1.0.1 lib/generators/templates/app/assets/javascripts/application-bs.js