Sha256: 68f9959080e0f706213c7492e368a46f144b7a1fa62a20001f0b05f272295ab7

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

class Firehose.Client
  constructor: (args) ->
    @transports = ['WebSocket', 'LongPoll']

    # Figure out what transport is supported and return it.
    for transport in @transports
      if transport = Firehose[transport]
        return new transport(args) if transport.supported()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
firehose-0.0.8 lib/assets/javascripts/firehose/client.js.coffee