Class: Kame::Remocon::Server

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/kame/remocon/server.rb

Overview

end

Constant Summary collapse

OPAL =
Opal::Sprockets::Server.new do |server|
  server.append_path File.expand_path("../opal", __FILE__)
  server.append_path File.expand_path("../../../assets", __FILE__)
  #server.append_path File.expand_path("../../../", __FILE__)
  Opal.use_gem 'hyalite'
  Opal.use_gem "opal-drb"
  Opal.use_gem 'kame-remocon'
  Opal.paths.each {|path| server.append_path path }

  server.main = 'application'
end