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.6.65 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.64 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.63 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.62 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.61 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.60 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.59 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.58 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.57 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.53 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.52 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.51 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.50 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.49 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.48 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.47 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.46 lib/ruby_app/elements/mobile/input.js.haml
RubyApp-0.6.45 lib/ruby_app/elements/mobile/input.js.haml