Sha256: 328a9b673d93af0b75bfe47efcfdcc5e9dec7fb52c747ea460378fb10fa7038f
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
- self.rendered?(__FILE__) do :plain // #{__FILE__} $(document).ready(function() { $("ul.list > li.item > a.item").live('click', function(event) { event.preventDefault(); RubyApp.sendEvent({_class:'RubyApp::Elements::List::ClickedEvent', source_id:$(this).parent().parent().attr('id'), index:$(this).attr('index')}); }); }); = yield
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
RubyApp-0.0.10 | lib/ruby_app/elements/list.js.haml |
RubyApp-0.0.9 | lib/ruby_app/elements/list.js.haml |