Sha256: b5c46eb4db62b2e950aaa37f78078a6de29552d7c37fabeaf99410664c5a0550
Contents?: true
Size: 1.04 KB
Versions: 30
Compression:
Stored size: 1.04 KB
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 && scope.selector) 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 && $el.selector) Alchemy.ImageLoader($el[0]) Alchemy.fileEditors($el.find(".essence_file, .essence_video, .essence_audio, .ingredient-editor.file, .ingredient-editor.audio, .ingredient-editor.video").selector) Alchemy.pictureEditors($el.find(".essence_picture, .ingredient-editor.picture").selector)
Version data entries
30 entries across 30 versions & 1 rubygems