Sha256: 72f964bf29c0feb304156a2067cff4688952902ec057df03dd563d7a446abd7d

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

- self.rendered?(__FILE__) do
  :plain
    // #{__FILE__}
    $(document).ready(function() {
      $("div.menu a.page").click(function(event) {
        event.preventDefault();
        RubyApp.sendEvent({_class:'RubyApp::Elements::Navigation::PageMenu::ClickedEvent', source_id:$(this).parent().parent().attr('id'), page:$(this).attr('page')});
      });
    });
= yield

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
RubyApp-0.0.10 lib/ruby_app/elements/navigation/page_menu.js.haml
RubyApp-0.0.9 lib/ruby_app/elements/navigation/page_menu.js.haml