lib/ruby_app/elements/pages/default_page.rb in RubyApp-0.0.26 vs lib/ruby_app/elements/pages/default_page.rb in RubyApp-0.0.27

- old
+ new

@@ -12,9 +12,13 @@ template_path(:all, File.dirname(__FILE__)) def initialize super + self.loaded do |element, event| + event.update_text('div#loaded', self.translate.loaded(event.now)) + end + @markdown = RubyApp::Elements::Markdown.new @markdown.clicked do |element, event| case event.name when 'go_test' RubyApp::Session.pages.push(RubyApp::Elements::Pages::TestPages::DefaultTestPage.new)