Sha256: ffadc86727acd5247be523a1c37222d569746898a9a3d6683c42ba1430c627f1

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

#= require jquery
#= require jquery_ujs

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

# 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

# input_connected
#= require input-connected

# 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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.alpha30 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha29 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha28 app/assets/javascripts/ui_bibz.coffee
ui_bibz-2.0.0.alpha27 app/assets/javascripts/ui_bibz.coffee