Class: JsTestServer::Server::Views::RemoteControlSubscriber
- Inherits:
-
Page
- Object
- Erector::Widget
- Page
- JsTestServer::Server::Views::RemoteControlSubscriber
- Defined in:
- lib/js_test_server/server/views/remote_control_subscriber.rb
Instance Method Summary collapse
Methods inherited from Page
Instance Method Details
#body_content ⇒ Object
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_content ⇒ Object
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 |