Sha256: afccc9aee1d3d61b2380ceee27b2d5e8c982206d3e88c31c1c144fead933dc0c

Contents?: true

Size: 344 Bytes

Versions: 5

Compression:

Stored size: 344 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
RubyApp-0.0.48 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.47 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.46 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.45 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.44 lib/ruby_app/elements/input.js.haml