Sha256: 1d56a1fffcd758022524a85e6a4b931fe3571ca44b6504bffa222ed515fdeb1c

Contents?: true

Size: 765 Bytes

Versions: 78

Compression:

Stored size: 765 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)
    # Dialog links use event delegation and therefore do not
    # need to be re-initialized after dom elements get replaced
    unless scope
      Alchemy.watchForDialogs()
    Alchemy.Hotkeys(scope)
    Alchemy.ListFilter(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

78 entries across 78 versions & 1 rubygems

Version Path
alchemy_cms-5.2.0.b1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.1.2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.1.1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.3 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.1.0 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.1.0.rc1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.1.0.beta2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.1.0.beta1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-4.6.2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.0 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.0.rc2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.0.rc1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.0.beta2 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-5.0.0.beta1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-4.6.1 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-4.6.0 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-4.5.0 app/assets/javascripts/alchemy/alchemy.gui.js.coffee
alchemy_cms-4.4.4 app/assets/javascripts/alchemy/alchemy.gui.js.coffee