Sha256: fcc7fb04fe45248e14a8cca523100b078583596f1ecc367a35d61100b78d93b0

Contents?: true

Size: 463 Bytes

Versions: 24

Compression:

Stored size: 463 Bytes

Contents

:plain
  // #{__FILE__}
  $(document).ready( function() {
    $(document).on('pageshow', 'div[data-role="dialog"]', function(event) {
      RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Dialog::ShownEvent', source:$(this).attr('id')});
    });
    $(document).on('pagehide', 'div[data-role="dialog"]', function(event) {
      RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Dialog::HiddenEvent', source:$(this).attr('id')});
    });
  });
= yield

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
RubyApp-0.5.38 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.37 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.36 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.35 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.34 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.33 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.32 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.31 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.30 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.29 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.28 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.23 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.18 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.17 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.16 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.15 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.14 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.13 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.12 lib/ruby_app/elements/mobile/dialog.js.haml
RubyApp-0.5.11 lib/ruby_app/elements/mobile/dialog.js.haml