From 686106d544ecc3b6ffd4db2b665d3bc879a58d8c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 24 Sep 2012 16:22:07 -0400 Subject: ok --- .../web-socket-js/flash-src/WebSocketMainInsecure.as | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as (limited to 'node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as') diff --git a/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as b/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as new file mode 100644 index 0000000..ea377be --- /dev/null +++ b/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as @@ -0,0 +1,19 @@ +// Copyright: Hiroshi Ichikawa +// License: New BSD License +// Reference: http://dev.w3.org/html5/websockets/ +// Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76 + +package { + +import flash.system.*; + +public class WebSocketMainInsecure extends WebSocketMain { + + public function WebSocketMainInsecure() { + Security.allowDomain("*"); + super(); + } + +} + +} -- cgit v1.2.3-70-g09d2