Sha256: 8f80f6fd3e4c80de8e77cb30bc946fec8990a2809a15680e2e24aecc77b5b70d

Contents?: true

Size: 659 Bytes

Versions: 3

Compression:

Stored size: 659 Bytes

Contents

window.Alchemy = {} if window.Alchemy == undefined

# Alchemy GUI initializers
Alchemy.GUI =

  # Initializes all Alchemy GUI elements in given scope
  init: (scope) ->
    Alchemy.SelectBox(scope)
    Alchemy.Datepicker(scope)
    Alchemy.Tooltips(scope)
    Alchemy.Buttons.observe(scope)
    Alchemy.watchForDialogs(scope)
    Alchemy.Hotkeys(scope)
    Alchemy.ListFilter(scope)
    Alchemy.Spinner.watch(scope)
    Alchemy.Autocomplete.tags(scope)
    $('[data-alchemy-char-counter]', scope).each ->
      new Alchemy.CharCounter(this)

  initElement: ($el) ->
    Alchemy.ElementDirtyObserver($el)
    Alchemy.GUI.init($el)
    Alchemy.ImageLoader($el)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy_cms-3.5.0 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-3.5.0.rc2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-3.5.0.rc1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee