Sha256: 6318ff6ce89071b7a3e2e8dd07c15bea02268e96b7d8d483bf0aa3d5345e61a8
Contents?: true
Size: 310 Bytes
Versions: 28
Compression:
Stored size: 310 Bytes
Contents
module Sinatra module WebSocketIO def self.registered(app) app.helpers Sinatra::WebSocketIO::Helpers app.get '/websocketio/websocketio.js' do content_type 'application/javascript' @js ||= ERB.new(Sinatra::WebSocketIO.javascript).result(binding) end end end end
Version data entries
28 entries across 28 versions & 1 rubygems