Sha256: 98a2a12b2b372e5b8cdc15a7a858bd9b27bd983799d66b1d622d299fa417e315

Contents?: true

Size: 432 Bytes

Versions: 11

Compression:

Stored size: 432 Bytes

Contents

#= require jquery
#= require jquery_ujs

#= require chr
#= require loft
#= require ants

@getConfig = (data) ->
  modules =
    loft: new Loft()
    settings:
      items:
        admins:    new AntsAdminUsers()
        redirects: new AntsRedirects()

  return { modules: modules }

$ ->
  $.get '/admin/bootstrap.json', (response) ->
    config = getConfig(response)

    chr.start('<%= app_name %>', config)
    new AntsProfile()

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
chr-0.5.1 templates/character_admin.coffee.erb
chr-0.5.0 templates/character_admin.coffee.erb
chr-0.4.25 templates/character_admin.coffee.erb
chr-0.4.24 templates/character_admin.coffee.erb
chr-0.4.23 templates/character_admin.coffee.erb
chr-0.4.22 templates/character_admin.coffee.erb
chr-0.4.21 templates/character_admin.coffee.erb
chr-0.4.20 templates/character_admin.coffee.erb
chr-0.4.19 templates/character_admin.coffee.erb
chr-0.4.18 templates/character_admin.coffee.erb
chr-0.4.17 templates/character_admin.coffee.erb