Sha256: 5906c88d68b340620baa3ac0a56c8a34480c6efb1ed84b5eae1faa4f55f2f4b5

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

- self.rendered?(__FILE__) do
  :plain
    // #{__FILE__}
    $(document).ready(function() {
      $('input[type="text"]').live('change', function(event) {
        RubyApp.sendEvent({_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.10 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.9 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.8 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.7 lib/ruby_app/elements/input.js.haml
RubyApp-0.0.6 lib/ruby_app/elements/input.js.haml