Sha256: 2224e3409226a3873e5bd6f90e961a7a2dbbec5318d538d64f4e11d4ed7fd4ba

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

module JsTestServer
  module Server
    module Representations
      class RemoteControlSubscriber < JsTestServer::Server::Representations::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

2 entries across 2 versions & 1 rubygems

Version Path
js-test-server-0.2.1 lib/js_test_server/server/representations/remote_control_subscriber.rb
js-test-server-0.2.0 lib/js_test_server/server/representations/remote_control_subscriber.rb