Sha256: ad05fcae15cab0f1629448be238d566bc66dcfb57852edf34114a9fb96ccee56

Contents?: true

Size: 309 Bytes

Versions: 28

Compression:

Stored size: 309 Bytes

Contents

- self.rendered?(__FILE__) do
  :plain
    // #{__FILE__}
    $(document).ready(function() {
      $('.click').live('click', function(event) {
        event.preventDefault();
        RubyApp.sendEvent({_class:'RubyApp::Elements::Click::ClickedEvent', source_id:$(this).attr('id')});
      });
    });
= yield

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
RubyApp-0.0.43 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.42 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.41 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.30 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.29 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.28 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.27 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.26 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.25 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.24 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.23 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.22 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.21 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.20 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.19 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.18 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.17 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.16 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.15 lib/ruby_app/elements/click.js.haml
RubyApp-0.0.14 lib/ruby_app/elements/click.js.haml