Permalink
Browse files

removed socketio folder

  • Loading branch information...
1 parent c7ddf19 commit 9b026068b464e979316d2cc35b03c8fa57ea8cee @chrismatthieu committed Dec 14, 2011
Showing with 0 additions and 27,727 deletions.
  1. +0 −1 public/socket.io/.gitignore
  2. +0 −2 public/socket.io/Makefile
  3. +0 −208 public/socket.io/README.md
  4. +0 −50 public/socket.io/bin/build
  5. +0 −25 public/socket.io/lib/io.js
  6. +0 −163 public/socket.io/lib/socket.js
  7. +0 −141 public/socket.io/lib/transport.js
  8. +0 −53 public/socket.io/lib/transports/flashsocket.js
  9. +0 −73 public/socket.io/lib/transports/htmlfile.js
  10. +0 −116 public/socket.io/lib/transports/jsonp-polling.js
  11. +0 −65 public/socket.io/lib/transports/websocket.js
  12. +0 −36 public/socket.io/lib/transports/xhr-multipart.js
  13. +0 −61 public/socket.io/lib/transports/xhr-polling.js
  14. +0 −135 public/socket.io/lib/transports/xhr.js
  15. +0 −60 public/socket.io/lib/util.js
  16. +0 −1 public/socket.io/lib/vendor/web-socket-js/.gitignore
  17. +0 −604 public/socket.io/lib/vendor/web-socket-js/FABridge.js
  18. +0 −109 public/socket.io/lib/vendor/web-socket-js/README.txt
  19. BIN public/socket.io/lib/vendor/web-socket-js/WebSocketMain.swf
  20. BIN public/socket.io/lib/vendor/web-socket-js/WebSocketMainInsecure.zip
  21. +0 −452 public/socket.io/lib/vendor/web-socket-js/flash-src/WebSocket.as
  22. +0 −88 public/socket.io/lib/vendor/web-socket-js/flash-src/WebSocketMain.as
  23. +0 −19 public/socket.io/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as
  24. +0 −943 public/socket.io/lib/vendor/web-socket-js/flash-src/bridge/FABridge.as
  25. +0 −10 public/socket.io/lib/vendor/web-socket-js/flash-src/build.sh
  26. +0 −204 public/socket.io/lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as
  27. +0 −375 public/socket.io/lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as
  28. +0 −287 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as
  29. +0 −3,235 ...c/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as
  30. +0 −218 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as
  31. +0 −57 ...socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as
  32. +0 −82 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as
  33. +0 −27 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as
  34. +0 −21 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as
  35. +0 −137 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as
  36. +0 −124 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as
  37. +0 −204 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as
  38. +0 −106 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as
  39. +0 −28 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as
  40. +0 −115 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as
  41. +0 −71 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as
  42. +0 −90 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as
  43. +0 −20 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as
  44. +0 −119 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as
  45. +0 −142 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as
  46. +0 −339 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as
  47. +0 −2,797 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as
  48. +0 −375 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as
  49. +0 −55 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as
  50. +0 −61 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as
  51. +0 −64 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as
  52. +0 −58 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as
  53. +0 −365 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as
  54. +0 −86 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as
  55. +0 −21 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as
  56. +0 −15 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as
  57. +0 −32 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as
  58. +0 −21 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as
  59. +0 −35 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as
  60. +0 −110 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as
  61. +0 −34 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as
  62. +0 −52 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as
  63. +0 −44 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as
  64. +0 −44 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as
  65. +0 −60 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as
  66. +0 −42 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as
  67. +0 −88 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as
  68. +0 −94 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as
  69. +0 −29 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl
  70. +0 −2,304 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt
  71. +0 −1,220 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as
  72. +0 −58 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as
  73. +0 −39 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as
  74. +0 −148 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as
  75. +0 −160 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as
  76. +0 −71 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as
  77. +0 −98 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as
  78. +0 −109 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as
  79. +0 −112 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as
  80. +0 −151 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as
  81. +0 −184 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as
  82. +0 −20 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as
  83. +0 −56 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as
  84. +0 −58 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as
  85. +0 −101 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as
  86. +0 −92 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as
  87. +0 −198 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as
  88. +0 −58 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as
  89. +0 −60 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as
  90. +0 −51 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as
  91. +0 −42 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as
  92. +0 −59 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as
  93. +0 −66 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as
  94. +0 −102 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as
  95. +0 −117 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as
  96. +0 −14 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as
  97. +0 −29 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as
  98. +0 −24 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as
  99. +0 −38 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as
  100. +0 −171 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as
  101. +0 −26 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as
  102. +0 −340 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as
  103. +0 −70 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as
  104. +0 −151 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as
  105. +0 −895 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as
  106. +0 −39 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as
  107. +0 −27 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as
  108. +0 −197 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as
  109. +0 −370 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as
  110. +0 −26 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as
  111. +0 −180 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as
  112. +0 −90 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as
  113. +0 −1,543 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as
  114. +0 −35 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as
  115. +0 −11 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as
  116. +0 −85 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as
  117. +0 −34 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as
  118. +0 −11 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as
  119. +0 −25 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as
  120. +0 −189 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as
  121. +0 −66 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as
  122. +0 −28 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as
  123. +0 −43 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as
  124. +0 −210 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as
  125. +0 −21 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as
  126. +0 −44 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as
  127. +0 −35 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as
  128. +0 −112 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as
  129. +0 −118 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as
  130. +0 −49 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as
  131. +0 −90 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as
  132. +0 −27 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as
  133. +0 −94 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as
  134. +0 −60 public/socket.io/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as
  135. +0 −76 public/socket.io/lib/vendor/web-socket-js/sample.html
  136. +0 −4 public/socket.io/lib/vendor/web-socket-js/swfobject.js
  137. +0 −376 public/socket.io/lib/vendor/web-socket-js/web_socket.js
  138. +0 −1,922 public/socket.io/socket.io.js
@@ -1 +0,0 @@
-s3
@@ -1,2 +0,0 @@
-build:
- ./bin/build
View
@@ -1,208 +0,0 @@
-socket.io
-=========
-
-#### Sockets for the rest of us
-
-The `socket.io` client is basically a simple HTTP Socket interface implementation. It allows you to establish a realtime connection with a server (see `socket.io` server [here](http://github.com/LearnBoost/Socket.IO-node)), hiding the complexity of the different transports (WebSocket, Flash, forever iframe, XHR long polling, XHR multipart encoded, etc), while retaining a WebSocket-like API:
-
- socket = new io.Socket('localhost');
- socket.connect();
- socket.on('connect', function(){
- // connected
- });
- socket.on('message', function(data){
- // data here
- });
- socket.send('some data');
-
-### Features
-
-- Supports
- - WebSocket
- - Adobe Flash Socket
- - ActiveX HTMLFile (IE)
- - XHR with multipart encoding
- - XHR with long-polling
- - JSONP polling (for cross-domain)
-
-- Tested on
- - Safari 4
- - Google Chrome 5
- - Internet Explorer 6
- - Internet Explorer 7
- - Internet Explorer 8
- - iPhone Safari
- - iPad Safari
- - Firefox 3
- - Firefox 4 (Minefield)
- - Opera 10.61
-
-- ActionScript Socket is known not to work behind proxies, as it doesn't have access to the user agent proxy settings to implement the CONNECT HTTP method. If it fails, `socket.io` will try something else.
-
-- On a successful connection, it remembers the transport for next time (stores it in a cookie).
-
-- Small. Closure Compiled with all deps: 5.82kb (gzipped).
-
-- Easy to use! See [socket.io-node](http://github.com/LearnBoost/Socket.IO-node) for the server to connect to.
-
-### How to use
-
- socket = new io.Socket('localhost');
- socket.connect();
- socket.send('some data');
- socket.on('message', function(data){
- alert('got some data' + data);
- });
-
-For an example, check out the chat [source](https://github.com/LearnBoost/Socket.IO-node/blob/master/test/chat.html).
-
-### Notes
-
-If you are serving you .swf from a other domain than socket.io.js you will need to change the WEB_SOCKET_SWF_LOCATION to the insecure version.
-
- <script>WEB_SOCKET_SWF_LOCATION = '/path/to/WebSocketMainInsecure.swf';</script>
-
-The insecure version can be found [here](http://github.com/gimite/web-socket-js/blob/master/WebSocketMainInsecure.zip).
-
-IMPORTANT! When checking out the git repo, make sure to include the submodules. One way to do it is:
-
- git clone [repo] --recursive
-
-Another, once cloned
-
- git submodule update --init --recursive
-
-### Documentation
-
-#### io.Socket
-
- new io.Socket(host, [options]);
-
-Options:
-
-- *port*
-
- Current port or 80
-
- The port `socket.io` server is attached to (defaults to the document.location port)
-
-- *resource*
-
- socket.io
-
- The resource is what allows the `socket.io` server to identify incoming connections by `socket.io` clients. In other words, any HTTP server can implement socket.io and still serve other normal, non-realtime HTTP requests.
-
-- *transports*
-
- ['websocket', 'flashsocket', 'htmlfile', 'xhr-multipart', 'xhr-polling']
-
- A list of the transports to attempt to utilize (in order of preference)
-
-- *transportOptions*
-
- {
- someTransport: {
- someOption: true
- },
- ...
- }
-
- An object containing (optional) options to pass to each transport.
-
-Properties:
-
-- *options*
-
- The passed in options combined with the defaults
-
-- *connected*
-
- Whether the socket is connected or not.
-
-- *connecting*
-
- Whether the socket is connecting or not.
-
-- *transport*
-
- The transport instance.
-
-Methods:
-
-- *connect*
-
- Establishes a connection
-
-- *send(message)*
-
- A string of data to send.
-
-- *disconnect*
-
- Closes the connection
-
-- *on(event, λ)*
-
- Adds a listener for the event *event*
-
-- *removeEvent(event, λ)*
-
- Removes the listener λ for the event *event*
-
-Events:
-
-- *connect*
-
- Fired when the connection is established and the handshake successful
-
-- *connecting(transport_type)*
-
- Fired when a connection is attempted, passing the transport name
-
-- *connect_failed*
-
- Fired when the connection timeout occurs after the last connection attempt.
- This only fires if the `connectTimeout` option is set.
- If the `tryTransportsOnConnectTimeout` option is set, this only fires once all
- possible transports have been tried.
-
-- *message(message)*
-
- Fired when a message arrives from the server
-
-- *close*
-
- Fired when the connection is closed. Be careful with using this event, as some transports will fire it even under temporary, expected disconnections (such as XHR-Polling).
-
-- *disconnect*
-
- Fired when the connection is considered disconnected.
-
-### Credits
-
-Guillermo Rauch &lt;guillermo@learnboost.com&gt;
-
-### License
-
-(The MIT License)
-
-Copyright (c) 2010 LearnBoost &lt;dev@learnboost.com&gt;
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,50 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Socket.IO client
- *
- * @author Guillermo Rauch <guillermo@learnboost.com>
- * @license The MIT license.
- * @copyright Copyright (c) 2010 LearnBoost <dev@learnboost.com>
- */
-
-/*
- * This file will help you take all the Socket.IO client files and build socket.io.js.
- * You can later use Google Closure Compiler on it.
- */
-
-var fs = require('fs'),
- sys = require('sys'),
- socket = require('../lib/io'),
- files = [
- 'io.js',
- 'util.js',
- 'transport.js',
- 'transports/xhr.js',
- 'transports/websocket.js',
- 'transports/flashsocket.js',
- 'transports/htmlfile.js',
- 'transports/xhr-multipart.js',
- 'transports/xhr-polling.js',
- 'transports/jsonp-polling.js',
- 'socket.js',
- 'vendor/web-socket-js/swfobject.js',
- 'vendor/web-socket-js/FABridge.js',
- 'vendor/web-socket-js/web_socket.js'
- ],
- content = "/** Socket.IO "+ socket.io.version +" - Built with build.js */\n";
-
-sys.log('Reading files…');
-
-files.forEach(function(file){
- var path = __dirname + '/../lib/' + file;
- sys.log (' + ' + path);
- content += fs.readFileSync(path) + "\n";
-});
-
-sys.log('Generating…');
-
-fs.write(fs.openSync(__dirname + '/../socket.io.js', 'w'), content, 0, 'utf8');
-sys.log(' + ' + __dirname + '/../socket.io.js');
-
-sys.log('All done!');
View
@@ -1,25 +0,0 @@
-/**
- * Socket.IO client
- *
- * @author Guillermo Rauch <guillermo@learnboost.com>
- * @license The MIT license.
- * @copyright Copyright (c) 2010 LearnBoost <dev@learnboost.com>
- */
-
-this.io = {
- version: '0.6.2',
-
- setPath: function(path){
- if (window.console && console.error) console.error('io.setPath will be removed. Please set the variable WEB_SOCKET_SWF_LOCATION pointing to WebSocketMain.swf');
- this.path = /\/$/.test(path) ? path : path + '/';
- WEB_SOCKET_SWF_LOCATION = path + 'lib/vendor/web-socket-js/WebSocketMain.swf';
- }
-};
-
-if ('jQuery' in this) jQuery.io = this.io;
-
-if (typeof window != 'undefined'){
- // WEB_SOCKET_SWF_LOCATION = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//cdn.socket.io/' + this.io.version + '/WebSocketMain.swf';
- if (typeof WEB_SOCKET_SWF_LOCATION === 'undefined')
- WEB_SOCKET_SWF_LOCATION = '/socket.io/lib/vendor/web-socket-js/WebSocketMain.swf';
-}
Oops, something went wrong.

0 comments on commit 9b02606

Please sign in to comment.