Sha256: 72e5038fa667a9ef99a11ff1fc8521b74f64439d6501ca558ca4ded303475842

Contents?: true

Size: 350 Bytes

Versions: 13

Compression:

Stored size: 350 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()}, true);
      });
    });
= yield

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
RubyApp-0.0.64 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.63 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.62 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.61 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.60 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.59 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.55 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.54 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.53 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.52 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.51 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.50 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.49 lib/ruby_app/elements/input.js.haml