Sha256: 2af1dca1dc07f35ca4d62756abe6e40d64337a5ad2560c9e771bac4e8cd1ba16

Contents?: true

Size: 875 Bytes

Versions: 3

Compression:

Stored size: 875 Bytes

Contents

///- - - - - - - - - - - - - - - - - - - -
/// INDEX OF BINDA'S SCRIPTS
///- - - - - - - - - - - - - - - - - - - -

import { _FormItem }         from './components/form_item'
import { _FormItemRepeater } from './components/form_item_repeater'
import { _FormItemAsset }    from './components/form_item_asset'
import { _FormItemChoice }   from './components/form_item_choice'
import { _FormItemEditor }   from './components/form_item_editor'
import setupSortable         from './components/sortable'

$(document).ready( function()
{
	if ( _FormItem.isSet() )         { _FormItem.setEvents() }
	if ( _FormItemRepeater.isSet() ) { _FormItemRepeater.setEvents() }
	if ( _FormItemAsset.isSet() )    { _FormItemAsset.setEvents() }
	if ( _FormItemChoice.isSet() )   { _FormItemChoice.setEvents() }
	if ( _FormItemEditor.isSet() )   { _FormItemEditor.setEvents() }
	setupSortable()
})

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
binda-0.0.7 app/assets/javascripts/binda/index.js
binda-0.0.6 app/assets/javascripts/binda/index.js
binda-0.0.5 app/assets/javascripts/binda/index.js