Sha256: 05d226c544cca2232336d3338d31fe2f3053bb083debf2100598d7c7e539e067

Contents?: true

Size: 496 Bytes

Versions: 7

Compression:

Stored size: 496 Bytes

Contents

module JsTestServer
  module Server
    module Views
      class RemoteControlSubscriber < JsTestServer::Server::Views::Page
        def head_content
          javascript :src => "/js_test_server.js"
          javascript :src => "/js_test_server/remote_control.js"
          javascript "JsTestServer.RemoteControl.start();"
        end

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
honkster-js-test-server-0.2.12 lib/js_test_server/server/views/remote_control_subscriber.rb
honkster-js-test-server-0.2.11 lib/js_test_server/server/views/remote_control_subscriber.rb
honkster-js-test-server-0.2.10 lib/js_test_server/server/views/remote_control_subscriber.rb
honkster-js-test-server-0.2.9 lib/js_test_server/server/views/remote_control_subscriber.rb
js-test-server-0.2.8 lib/js_test_server/server/views/remote_control_subscriber.rb
js-test-server-0.2.7 lib/js_test_server/server/views/remote_control_subscriber.rb
js-test-server-0.2.6 lib/js_test_server/server/views/remote_control_subscriber.rb