Sha256: 5292d4bea1c7d7532c67805a3e56ba61842f284aaaff44b8da66dfa317d65d8f

Contents?: true

Size: 337 Bytes

Versions: 38

Compression:

Stored size: 337 Bytes

Contents

:plain
  // #{__FILE__}
  $(document).ready( function() {
    $(document).on('change', 'input', function(event) {
      event.preventDefault();
      if ($(this).attr('id'))
        RubyApp.sendEvent({_class:'RubyApp::Elements::Mobile::Input::ChangedEvent', source:$(this).attr('id'), value:$(this).val()}, false);
    });
  });
= yield

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.15 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.14 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.13 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.12 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.11 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.10 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.9 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.5 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.4 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.3 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.2 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.1 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.7.0 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.71 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.70 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.69 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.68 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.67 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.66 lib/ruby_app/elements/mobile/input.js.haml