GK
7f3fae0d3b
use inherits package instead of inherit
2014-04-17 18:04:56 -04:00
GK
6329f81b9d
removed all references to util.js
2014-04-17 15:33:36 -04:00
GK
e0e7db69dd
fix if statement in FlashWS.ready method
2014-04-16 13:14:16 -04:00
GK
844306c68d
pass values directly in FlashWS.ready method
2014-04-16 11:34:25 -04:00
GK
ca9ae9cb78
merged with master
2014-04-16 11:12:32 -04:00
GK
dc65d13b76
removed unnecessary UA detection
2014-04-16 11:09:34 -04:00
Guillermo Rauch
961f33cb77
Merge pull request #288 from lpinca/fix/polling-jsonp-cleanup
...
polling-jsonp: prevent spurious errors from being emitted when the window is unloaded
2014-04-13 11:06:33 -07:00
Luigi Pinca
3fcc9fb438
polling-jsonp: prevent spurious errors from being emitted when the window is unloaded
2014-04-13 10:47:58 +02:00
Guillermo Rauch
3f9f9028cc
Merge pull request #285 from lpinca/fix/comment
...
polling-xhr: fix a comment and remove unneeded `document` reference
2014-04-12 11:40:44 -07:00
Luigi Pinca
a3f840504f
polling-xhr: fix a comment and remove unneeded document reference
2014-04-12 15:42:08 +02:00
GK
1a43bc9346
enforce cache busting
2014-04-11 21:43:11 -04:00
GK
f3d9f2bcfb
remove util.js
2014-04-11 20:15:20 -04:00
GK
5a3d15581f
Merge branch 'master' into removingutil
2014-04-11 20:11:26 -04:00
GK
8fc0f34e35
put UA detection inline where used, remove util.js
2014-04-11 20:08:48 -04:00
GK
5d3ec15c95
remove on, load, replace keys and inherits with modules
2014-04-11 19:45:46 -04:00
Guillermo Rauch
d527099265
dropping illusory websocket parity
2014-04-11 09:33:14 -07:00
Guillermo Rauch
6fb3d800d9
Merge pull request #280 from get/parseqs
...
querystring turned into module, removed from util.js
2014-04-11 09:14:09 -07:00
Guillermo Rauch
076b3e4b84
Merge pull request #284 from rase-/fix/tests
...
Fix double firing of close event when explicitly closing a socket
2014-04-11 08:50:50 -07:00
Tony Kovanen
aad85cb2bd
JSONP and test fixes for fails in IE
2014-04-11 15:39:14 +03:00
Guillermo Rauch
8ac2dbdc89
polling-xhr: fix by @3rd-eden
2014-04-10 15:41:40 -07:00
GK
c21b291936
change qs and qsParse methods to encode and decode
2014-04-10 18:23:10 -04:00
Tony Kovanen
382b15c71e
Fix double firing of close event when explicitly closing a socket
2014-04-11 01:06:41 +03:00
Guillermo Rauch
18ae1adec6
Merge pull request #273 from lpinca/fix/polling-timestamp
...
polling: ensure that the timestamp used for cache busting is unique
2014-04-10 15:04:53 -07:00
Guillermo Rauch
51d5ba0165
Merge pull request #283 from lpinca/fix/polling-xhr-cleanup
...
polling-xhr: abort the request when the window is unloaded
2014-04-10 15:01:21 -07:00
Luigi Pinca
9ea0abc316
polling-xhr: abort the request when the window is unloaded
2014-04-06 15:03:34 +02:00
Arnout Kazemier
d4afe6c2c6
[fix] new XMLHttpRequest always returns an object
2014-04-03 17:01:04 +02:00
GK
85a858bc68
merged with master
2014-03-30 17:26:46 -04:00
GK
3bbb714a13
querystring extracted from util.js into own npm module
2014-03-30 17:19:44 -04:00
Luigi Pinca
d07aac6015
polling: ensure that the timestamp used for cache busting is unique
2014-03-24 19:48:05 +01:00
Guillermo Rauch
949baef4eb
Merge pull request #277 from nkzawa/patch-1
...
Fix the this object for onlyBinaryUpgrades
2014-03-24 14:20:08 -03:00
Guillermo Rauch
33de820edb
Merge pull request #275 from plievone/ensure-transport-close
...
Ensure transport will be really closed in all cases
2014-03-24 14:17:03 -03:00
Naoyuki Kanezawa
7bf80c643e
fix the this object for onlyBinaryUpgrades
2014-03-23 18:54:46 +09:00
plievone
647c693791
Cast hasAttachEvent to boolean early
2014-03-21 15:28:21 +02:00
plievone
fea1fce36c
Make Request#cleanup() safe to call multiple times.
2014-03-21 14:37:51 +02:00
plievone
cbe11eacb7
Socket#onClose(): ensure transport won't stay open.
...
There are rare error cases when transport could stay open in the background
even if socket is closed, so it is better to always call
`this.transport.close()` in Socket#onClose as it is idempotent and
safe to call multiple times.
2014-03-21 14:27:20 +02:00
Guillermo Rauch
5a0cb9fc5d
polling-xhr: lint
2014-03-15 17:06:23 -03:00
Tony Kovanen
94511ae063
Not base64 encoding for no reason when using websockets
2014-03-14 22:25:33 +02:00
Guillermo Rauch
b084823008
Merge pull request #266 from get/parsejson_new
...
ParseJSON and parseURI made into their own modules
2014-03-08 19:40:36 -02:00
GK
74fb64e122
fixed package.json merge issues
2014-03-06 19:55:08 -05:00
Tony Kovanen
55f10e68b3
Removed the global dependency
2014-03-07 01:44:16 +02:00
GK
3011d31aa2
made parseJSON its own module, update calls
2014-02-22 18:51:09 -05:00
Guillermo Rauch
0beb956530
Revert "Make timestamping default for sockets"
...
This reverts commit efc5ff99d1 .
2014-02-20 10:54:51 -08:00
Julian Salazar
efc5ff99d1
Make timestamping default for sockets
2014-02-20 01:21:34 -08:00
Tony Kovanen
5708098f8e
style
2014-02-20 01:02:38 +02:00
Tony Kovanen
43721adf2d
Merged current master
2014-02-19 18:35:05 +02:00
Guillermo Rauch
746f4cfa30
Revert "don't override empty opts.port"
...
This reverts commit 1bf90f5aaa .
2014-02-17 14:52:11 -08:00
Julian Salazar
1bf90f5aaa
don't override empty opts.port
2014-02-17 14:38:10 -08:00
Tony Kovanen
d269acd2ab
User can now pass in an onlyBinaryUpgrades option to disable upgrading to a transport that doesn't support binary from one that does to avoid the overhead of base64 encoding
2014-02-16 22:55:23 +02:00
Tony Kovanen
33b5e79ca1
Testing for base64 fallback mechanism now run for browsers that don't support binary types
2014-02-16 09:18:32 +02:00
Guillermo Rauch
0a3c521939
Merge pull request #243 from mokesmokes/sslws
...
Enable a direct websocket connection if the previous websocket connection ...
2014-02-15 13:14:50 -08:00