Sha256: b3a8cb399171bea5cfeffc8f48e0905dc2b790ad451cadcaafbaae92427e41f4

Contents?: true

Size: 346 Bytes

Versions: 18

Compression:

Stored size: 346 Bytes

Contents

module Sinatra
  module RocketIO
    module Linda

      def self.registered(app)
        app.helpers Sinatra::RocketIO::Linda::Helper

        app.get '/rocketio/linda.js' do
          content_type 'application/javascript'
          @js ||= ERB.new(::Sinatra::RocketIO::Linda.javascript).result(binding)
        end
      end

    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
sinatra-rocketio-linda-1.1.0 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-1.0.1 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-1.0.0 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.2.0 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.1.4 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.1.3 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.1.2 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.1.1 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.1.0 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.9 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.8 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.7 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.6 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.5 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.4 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.3 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.2 lib/sinatra-rocketio-linda/application.rb
sinatra-rocketio-linda-0.0.1 lib/sinatra-rocketio-linda/application.rb