Commit Graph

92 Commits

Author SHA1 Message Date
Damien Arrachequesne
49fb3e035b [fix] Run tests on the minified files (#1042) 2017-02-22 12:30:16 +01:00
Damien Arrachequesne
d47bbd802e [fix] Fix json import in slim build (#1036) 2016-11-27 23:37:42 +01:00
Damien Arrachequesne
c1dd34c4eb [chore] Provide a slim build without JSON3 and debug (#1030)
The dist folder now contains both the default build and a slimmer one, generated without JSON3 (JSON polyfill for IE6/IE7) and debug modules.
2016-11-27 08:12:17 +01:00
Zhu Liang
4d1c20dbd6 [feature] emit sourcemap for socket.io.js (#953) 2016-11-05 00:24:53 +01:00
David Matas Matas
5077f0a66b [chore] Disable AMD for json3 (#1005)
Saying to Webpack don't use the AMD style for json3 dependency
2016-10-21 02:08:29 +02:00
Diga Widyaprana
c51a930a2c ESlint manual fix 2016-02-28 02:36:06 +08:00
Diga Widyaprana
d1cbc68ea7 Eslint autofix 2016-02-28 02:36:06 +08:00
Zhu Liang
8725d6e5cb fixed regex 2016-02-15 13:34:25 +08:00
Zhu Liang
60fa83c345 removed babel react preset 2016-02-12 13:40:52 +08:00
Diga Widyaprana
422f29ebf6 Remove browserify stuff, add zuul-builder-webpack devDep 2016-02-10 23:44:08 +08:00
Diga Widyaprana
ec06f7a6c3 Refactor webpack config out to support/webpack.config.js 2016-02-10 23:41:27 +08:00
Zhu Liang
3799b60d5b added babel integration using browserify API 2016-01-26 16:10:20 +08:00
Guillermo Rauch
df5df9aad1 exclude ws instead of ignoreing it from build [@lpinca] 2016-01-07 17:25:23 -08:00
Guillermo Rauch
de17842926 Merge pull request #932 from NativeScript/browserify-add-global
Add global object as another fallback.
2016-01-07 17:20:39 -08:00
Guillermo Rauch
1fc8b80e53 support: update browserify instructions 2016-01-07 10:31:57 -08:00
Stefan Dobrev
cde911c10b Add global object as another fallback.
In some JavaScript runtimes like NativeScript the `window` or `self` objects are not present, but the `global` is.

NativeScript is using Karma as it its unit test runner and thus relies on socket.io for communication. The socket.io client file is served by Karma and loaded in NativeScript. Up until version 1.4.0 this problem was not visible because the root object was not accessed. However this is not the case anymore with latest json3 changes: https://github.com/NativeScript/socket.io-client/blob/master/socket.io.js#L5220
2016-01-07 18:47:40 +02:00
Guillermo Rauch
901353d044 support: fix browserify 2014-03-12 15:35:59 -03:00
Guillermo Rauch
3f8af8828b support: fix browserify 2014-03-12 14:31:53 -03:00
Tony Kovanen
e7b1646cf4 Forces browserify build to only insert global 2014-03-12 18:45:20 +02:00
Guillermo Rauch
ee257ce3e7 fix browserify signature 2014-03-09 12:22:56 -03:00
Guillermo Rauch
2ae3b9dde2 implemented better browserify pipeline 2014-02-20 13:43:08 -08:00
Guillermo Rauch
d5652feadc 1.0 client initial commit 2012-12-10 03:31:57 -03:00
Gabe Hollombe
76cf0b30cf added tests for auto and manual buffer flushing 2012-04-23 18:01:37 +07:00
Guillermo Rauch
b1f5509b1a Expose transport as local to test runner app. 2012-03-02 08:10:06 -03:00
Guillermo Rauch
205790e63c Added warning within Firefox about webworker test in test runner. 2012-03-02 08:09:48 -03:00
Guillermo Rauch
a84002563e Added warning styles. 2012-03-02 08:09:36 -03:00
Guillermo Rauch
d4b1e480cb Compiled CSS 2012-03-02 08:00:46 -03:00
Guillermo Rauch
d51046339f Fixed test runner on IE6/7. Odd jquery bug 2011-10-27 12:27:26 +08:00
Guillermo Rauch
9a05dca2f9 Bumped jquery 2011-10-27 12:27:20 +08:00
Guillermo Rauch
c1de89007a Unicode snowman for you 2011-10-27 12:09:09 +08:00
Guillermo Rauch
2f21c326d7 Exposed uri() global to access socket.io of currently running acceptance test. 2011-10-18 16:31:06 -07:00
Guillermo Rauch
ef0d5f86a2 Added webworker server side acceptance test. 2011-10-18 16:30:03 -07:00
Guillermo Rauch
91de0cb7ad Leverage static middleware in mounted /test. 2011-10-18 14:00:51 -07:00
Guillermo Rauch
42e27e857c Added unicode tests. 2011-09-03 13:26:22 -07:00
Guillermo Rauch
85991d9e6a Added acceptance test for sending newlines. 2011-09-03 12:22:17 -07:00
Guillermo Rauch
a3b3caa0b2 Removed test handler for removed test. 2011-08-12 10:13:51 -07:00
Guillermo Rauch
6392a40388 Merge pull request #266 from 3rd-Eden/bugs/ie8
Small test case clean up
2011-08-02 16:03:19 -07:00
Arnout Kazemier
b235e709de Merge branch 'master' of github.com:LearnBoost/socket.io-client into query
Conflicts:
	support/test-runner/app.js
	test/socket.test.js
2011-08-03 00:27:07 +02:00
Arnout Kazemier
846b3b3e40 Typo and removed the throw error 2011-08-02 22:49:57 +02:00
Guillermo Rauch
dd0b3b9d53 Fixed; make counter local so that acceptance tests can be run multiple times. 2011-08-02 11:02:21 -07:00
Guillermo Rauch
66925b26f6 Merge branch 'master' of github.com:LearnBoost/socket.io-client
Conflicts:
	support/test-runner/app.js
2011-08-02 10:54:57 -07:00
Guillermo Rauch
89506b324f Commented out forced transports from test runner
Added additional test
2011-08-02 10:53:33 -07:00
Guillermo Rauch
1ccd77a97c Merge pull request #253 from 3rd-Eden/bug/252
fix for #252 only the last response was send to the server
2011-07-29 21:07:13 -07:00
Arnout Kazemier
cb1816f4a2 Added the ability to specify the transport that needs to be tested 2011-07-28 19:58:27 +02:00
Arnout Kazemier
6e8325e78f fix for #252 only the last response was send to the server 2011-07-25 22:53:53 +02:00
Arnout Kazemier
2b4d7c8d15 Merge branch 'master' of github.com:LearnBoost/socket.io-client into query
Conflicts:
	lib/io.js
2011-07-17 23:52:25 +02:00
Arnout Kazemier
31a89ac232 Updated to count messages and connects 2011-07-08 00:16:33 +02:00
Arnout Kazemier
bbb80cbb5b Added testcase for query string sending / getting 2011-07-07 23:50:08 +02:00
Arnout Kazemier
ca5d229508 Added test suite + of method on the namespace so we have a simular api on the client
as we would have on the server.
2011-07-03 22:32:59 +02:00
Arnout Kazemier
eecc0f115e Added test suite 2011-06-28 22:22:07 +02:00