Andor Goetzendorff
05c4bf02fe
client now ignores unsupported upgrades
2013-01-17 17:35:18 +01:00
Guillermo Rauch
d2196bfbc8
Merge pull request #89 from Raynos/xhr
...
Do not shadow global XMLHttpRequest
2013-01-07 09:13:49 -08:00
Raynos
eb4d91bde9
Do not shadow global XMLHttpRequest
...
If you use the XMLHttpRequest variable name then the if
typeof XMLHttpRequest === 'undefined' check will always
return false and the XHR polling method is never used.
This is needed because JSONP polling is buggy and doesn't emit
close when server shutsdown. JSONP should be fixed / disabled.
2013-01-06 17:03:52 -08:00
Guillermo Rauch
2e07479ef0
socket: added data event (as synonym to message)
2012-12-17 00:10:24 -03:00
Guillermo Rauch
e81902e4cc
README: deprecate options for uri
2012-12-16 21:18:09 -03:00
Guillermo Rauch
ab70697913
socket: remove resource and fix path
2012-12-16 20:52:01 -03:00
Guillermo Rauch
a7d4d192d6
socket: fixed access to opts
2012-12-16 20:51:53 -03:00
Guillermo Rauch
aea76ad045
test: fixed transports tests
2012-12-16 20:49:44 -03:00
Guillermo Rauch
00a5640a12
socket: constructor can accept uri/opts simultaneously
2012-12-16 20:34:18 -03:00
Guillermo Rauch
0660b5ce27
SPEC: simplified: removed resource from SPEC
2012-12-16 20:24:39 -03:00
Guillermo Rauch
3b032f74ec
socket: proper host/hostname support
2012-12-16 20:03:23 -03:00
Guillermo Rauch
1ba966b865
socket: ensure onclose idempotency
2012-12-16 19:55:37 -03:00
Guillermo Rauch
0514526653
socket: added onerror instrumentation
2012-12-16 19:55:24 -03:00
Guillermo Rauch
55076c3f56
socket: fix style
2012-12-16 19:52:33 -03:00
Guillermo Rauch
d8e47d0783
Merge pull request #82 from ramitos/master
...
use window to detect platform and fix global reference
2012-12-12 09:25:54 -08:00
TJ Holowaychuk
9ee234a190
Merge pull request #81 from oqulr/master
...
Code snippets in Readme have extra parens.
2012-12-12 08:49:41 -08:00
Sérgio Ramos
23315f46a9
use window to detect platform and fix global reference
2012-12-12 16:43:49 +00:00
Paolo Fragomeni
3edc409440
Update README.md
...
Fixed code snippets.
2012-12-12 11:29:58 -05:00
Guillermo Rauch
1ccf2816da
Merge pull request #80 from ramitos/patch-1
...
*: fix references to `global` (fixes #79 )
2012-12-10 12:30:56 -08:00
Sérgio Ramos
942581c64f
*: fix references to global ( fixes #79 )
2012-12-10 20:27:18 +00:00
Guillermo Rauch
62e27c3032
Merge branch 'master' of github.com:/LearnBoost/engine.io-client
2012-12-10 12:16:12 -03:00
Guillermo Rauch
adadcdfbe8
*: fix references to global ( fixes #79 )
2012-12-10 12:10:20 -03:00
Guillermo Rauch
b081987de9
Merge pull request #78 from ramitos/patch-2
...
fixes "failed to require "engine.io" from (...)"
2012-12-10 06:58:27 -08:00
Sérgio Ramos
86a49d2151
fixes "failed to require "engine.io" from (...)"
...
From the [component/component](https://github.com/component/component ) [spec](https://github.com/component/component/wiki/Spec ):
> It is recommended that you use "index.js" for the main component file, however if you use another filename, you **MUST** define a "main" field for that. A component **MUST** have only one "main" file specified, and it **MUST** still be listed in the "scripts" array.
2012-12-10 13:32:46 +00:00
Guillermo Rauch
37ac529df7
emitter: added back WebSocket compat
2012-12-10 03:34:38 -03:00
Guillermo Rauch
4618389264
Release 0.4.0
2012-12-09 10:14:28 -03:00
Guillermo Rauch
8c638bae34
engine.io: standalone component build
2012-12-08 20:17:11 -03:00
Guillermo Rauch
157f0f94d4
socket: export constructors and utils
2012-12-08 20:13:45 -03:00
Guillermo Rauch
c8d7c2e4e7
test: added symlink to new build
2012-12-08 20:12:59 -03:00
Guillermo Rauch
e3f05dea68
test: fix browser test runner
2012-12-08 20:12:44 -03:00
Guillermo Rauch
bfbe9ef288
polling-xhr: fixed emitter require
2012-12-08 20:10:32 -03:00
Guillermo Rauch
d2884f2b6a
Makefile: build engine.io.js, remove dev build
2012-12-08 20:10:11 -03:00
Guillermo Rauch
6b69d95055
README: expand on tests section
2012-12-08 20:10:00 -03:00
Guillermo Rauch
2da017fde8
test: remove version
2012-12-08 20:09:24 -03:00
Guillermo Rauch
b59234e508
README: simplify standalone story
2012-12-08 20:07:46 -03:00
Guillermo Rauch
5685db3838
test: point to new build location
2012-12-08 20:07:37 -03:00
Guillermo Rauch
90389c63b7
test: remove dist symlink
2012-12-08 20:03:37 -03:00
Guillermo Rauch
3873488694
test: fix dependencies
2012-12-08 20:02:39 -03:00
Guillermo Rauch
1b217fd83c
package: adapted component namespace
2012-12-08 20:02:28 -03:00
Guillermo Rauch
4c7725c267
socket: export protocol
2012-12-08 19:56:21 -03:00
Guillermo Rauch
6d7272d79a
emitter: re-export Emitter
2012-12-08 19:55:01 -03:00
Guillermo Rauch
4d36062de5
README: adapted standalone example to new eio global
2012-12-08 19:54:44 -03:00
Guillermo Rauch
317a499a67
README: remove notion of top level namespace
2012-12-08 19:54:15 -03:00
Guillermo Rauch
70414ecaf4
componetn: added missing transports
2012-12-08 19:51:38 -03:00
Guillermo Rauch
ddd9ee491b
lib: removed engine.io-client aggregation
2012-12-08 19:50:09 -03:00
Guillermo Rauch
9e8a3bd0b3
socket: added compatibility with pre-1.0.0
2012-12-08 19:43:35 -03:00
Guillermo Rauch
65abecb780
*: use local emitter wrapper
2012-12-08 19:43:21 -03:00
Guillermo Rauch
05b0137ed1
emitter: added emitter to remove try/catch ugliness from modules and add node-compatible methods
2012-12-08 19:41:56 -03:00
Guillermo Rauch
3269a7f849
polling-xhr: implemented emitter component
2012-12-08 19:32:43 -03:00
Guillermo Rauch
16a853cfb5
*: fix comments
2012-12-08 19:32:31 -03:00