Sha256: 3e50d5459de49eca1fa1fe6c2cde3cf90e1e71324353c22d7e1220845d95d13f
Contents?: true
Size: 650 Bytes
Versions: 72
Compression:
Stored size: 650 Bytes
Contents
:plain // #{__FILE__} $(document).ready( function() { $(document).on('click', 'ul.list > li.item a.item', function(event) { event.preventDefault(); RubyApp.sendEvent({_class:'RubyApp::Elements::Mobile::List::ItemClickedEvent', source:$(this).parents('ul.list').attr('id'), item:$(this).parents('li.item').attr('id')}); }); $(document).on('click', 'ul.list > li.item a.link', function(event) { event.preventDefault(); RubyApp.sendEvent({_class:'RubyApp::Elements::Mobile::List::LinkClickedEvent', source:$(this).parents('ul.list').attr('id'), item:$(this).parents('li.item').attr('id')}); }); }); = yield
Version data entries
72 entries across 72 versions & 1 rubygems