Sha256: b9c15f1e568ebba625f253a28c1383e893fc8d04181db456f24b3b12faa4d0b8

Contents?: true

Size: 1.18 KB

Versions: 7

Compression:

Stored size: 1.18 KB

Contents

#= require jquery
#= require jquery_ujs

# multi_column_field component
#= require jquery.quicksearch.min
#= require jquery.multi-select.min

# Bootstrap
#= require tether.min
#= require bootstrap

# date_picker_field component
#= require bootstrap-datepicker.min

# dropdown_select_field component
#= require bootstrap-select.min

# switch_field component
#= require bootstrap-switch.min

# multi_select_field component
#= require bootstrap-multiselect.min

# mardown-editor
#= require marked
#= require bootstrap-markdown

# Ui Bibz
#= require table
#= require interface
#= require formula
#= require form
#= require fix_bootstrap

@UiBibz = class UiBibz

  constructor: ->
    @table     = new window.UiBibzTable()
    @form      = new window.UiBibzForm()
    @interface = new window.UiBibzInterface()
    @formula   = new window.UiBibzFormula()
    #delete window.UiBibzTable
    #delete window.UiBibzForm
    #delete window.UiBibzInterface

ready = ->
  new UiBibz
  # Fix for turbolinks
  $( "textarea[data-provide*='markdown']" ).markdown() # fix markdown js if turbolinks exists

$(document).on('ready turbolinks:load page:change', ready) # catch event for turbolinks and fix in ready() function

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.alpha24 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha23 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha22 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha21 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha20 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha19 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha18 app/assets/javascripts/ui_bibz.coffee