Sha256: ab2eae7ab21b526aa1d23b4322cf212a2c72e228eb601403aa5d06183f2bb8a0

Contents?: true

Size: 574 Bytes

Versions: 1

Compression:

Stored size: 574 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.Buttons.observe(scope)
    Alchemy.watchForDialogs(scope)
    Alchemy.Hotkeys(scope)
    Alchemy.ListFilter(scope)
    Alchemy.Spinner.watch(scope)
    Alchemy.Autocomplete.tags(scope)

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-3.0.0.rc5 app/assets/javascripts/alchemy/alchemy.gui.js.coffee