Class: JsTestServer::Server::Views::RemoteControlSubscriber

Inherits:
Page
  • Object
show all
Defined in:
lib/js_test_server/server/views/remote_control_subscriber.rb

Instance Method Summary collapse

Methods inherited from Page

#content

Instance Method Details

#body_contentObject



11
12
13
# File 'lib/js_test_server/server/views/remote_control_subscriber.rb', line 11

def body_content
  a "Commands", :href => Resources::RemoteControl.path("commands"), :id => "commands"
end

#head_contentObject



5
6
7
8
9
# File 'lib/js_test_server/server/views/remote_control_subscriber.rb', line 5

def head_content
  javascript :src => "/js_test_server.js"
  javascript :src => "/js_test_server/remote_control.js"
  javascript "JsTestServer.RemoteControl.start();"
end