Sha256: 2bfee2270d6450a65756ede1e8c79251c1b7139045b9d8deb1635ec3db8cfedf

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

- self.rendered?(__FILE__) do
  :plain
    // #{__FILE__}
    $(document).ready(function() {
      $('input').live('change', function(event) {
        event.preventDefault();
        RubyApp.queueEvent({_class:'RubyApp::Elements::Input::ChangedEvent', source_id:$(this).attr('id'), value:$(this).val()}, true);
      });
    });
= yield

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
RubyApp-0.0.58 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.57 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.56 lib/ruby_app/elements/input.js.haml