Sha256: c732750a354217b93524323cc7dc85b92afc875fd5bcb4e220f81ca79c45078e

Contents?: true

Size: 529 Bytes

Versions: 16

Compression:

Stored size: 529 Bytes

Contents

<%= "<%= require_joosy_preloader_for '" %><%= file_name %><%= "', preloader: 'caching', force: false %" + ">" %>

bootstrap = ->
  $('#preloader').remove()
  Joosy.Application.initialize '<%= file_name %>','#application',
    environment: window.joosy.environment
    debug: false

window.onload = ->
  Preloader.load window.joosy.libraries,
    complete: bootstrap
    start: -> document.getElementById('preloader').style.display = 'block'
    progress: (percent) -> document.getElementById('percents').innerHTML = percent + '%'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
joosy-1.1.2 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.1.1 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.1.0 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.1.0.alpha.3 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.1.0.alpha.2 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.1.0.alpha.1 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC7 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC6 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC5 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC4 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC3 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC2 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-1.0.0.RC1 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-0.1.0.RC3 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-0.1.0.RC2 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb
joosy-0.1.0.RC1 lib/rails/generators/joosy/templates/app_preloader.js.coffee.erb