Commit Graph

19 Commits

Author SHA1 Message Date
Guillermo Rauch
f9f0c1227e util: implemented simple qsParse 2013-03-16 09:19:48 -07:00
Sérgio Ramos
5f8356a567 fix "TypeError: Object #<Object> has no method 'global'" 2013-01-21 14:26:49 +00: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
Sérgio Ramos
23315f46a9 use window to detect platform and fix global reference 2012-12-12 16:43:49 +00:00
Guillermo Rauch
adadcdfbe8 *: fix references to global (fixes #79) 2012-12-10 12:10:20 -03:00
Guillermo Rauch
50c05f9f50 util: remove if node 2012-12-08 18:42:59 -03:00
Raynos
5bfd8ee5a8 BROWSERIFY SUPPORT 2012-12-06 22:44:36 -08:00
Mikito Takada
30f28f62dd Prefer XMLHttpRequest over XDomainRequest if and only if XHR has withCredentials, which is the case for IE10 but not earlier IE versions. 2012-09-25 11:42:07 -07:00
Guillermo Rauch
272f136330 util: fixed parens 2012-09-21 10:59:47 -07:00
Guillermo Rauch
3d2baff19e polling: added cache-busting for iOS6 2012-09-21 10:57:29 -07:00
Guillermo Rauch
56f9a1e0d4 util: added android UA sniffing 2012-08-01 17:23:28 -07:00
Guillermo Rauch
865ad73ddd No longer needed with new browserbuild. 2012-01-18 08:48:16 -08:00
Guillermo Rauch
ed59483bb9 Added util#keys 2012-01-17 08:14:06 -08:00
Guillermo Rauch
b6daf3212e Fixed order of on and load in util. 2012-01-16 08:05:08 -08:00
Guillermo Rauch
2ef709b284 Added back load/defer utils from socket.io
Added JSON parse from jquery
2012-01-03 13:25:56 -08:00
Guillermo Rauch
f3306ea1a1 Added util#qs 2011-12-23 12:03:01 -08:00
Guillermo Rauch
7c28a36ef4 Fixed undefined util. 2011-12-15 10:11:23 -08:00
Guillermo Rauch
7489fa4378 Added parseUri to util, cleaned up. 2011-11-27 11:30:28 -08:00
Guillermo Rauch
21b75fa15e Initial import 2011-11-18 10:08:39 -08:00