Sha256: 74776711f7e1425cc6a89605c2612bba079737bc5d79d8d7ccbe715bc46ce6f5
Contents?: true
Size: 551 Bytes
Versions: 12
Compression:
Stored size: 551 Bytes
Contents
class CalendarEventsController extends Spine.Module constructor: (element) -> for el in element.find('.event_detail') event = CalendarEvent.create( element: $(el).hide() held_on: $(el).data('event-date') active: false ) @initializeEventSelect(event) initializeEventSelect: (event) -> event.bind('change', () -> if event.active == true event.element.show() if event.active == false event.element.hide() ) window.CalendarEventsController = CalendarEventsController
Version data entries
12 entries across 12 versions & 1 rubygems