Sha256: 5bc3db0386b5db2cfac2b567017b4e1d6e21ba60d7c6633345df962ee10c670a

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

require 'rubygems'
require 'sinatra'
require 'sinatra/base'
if development?
  $stdout.sync = true
  require 'sinatra/reloader'
  $:.unshift File.expand_path '../lib', File.dirname(__FILE__)
end
require 'sinatra/cometio'
require 'haml'
require 'sass'
require File.dirname(__FILE__)+'/main'

set :haml, :escape_html => true
set :cometio, :timeout => 60, :post_interval => 2, :allow_crossdomain => false

run ChatApp

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-cometio-0.6.0 sample/config.ru
sinatra-cometio-0.5.9 sample/config.ru