This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date/Time: 2015-05-19 17:52:38 +0200 | |
OS Version: 10.10.3 (Build 14D136) | |
Architecture: x86_64 | |
Report Version: 21 | |
Command: Startupizer2 | |
Path: /Applications/Startupizer2.app/Contents/MacOS/Startupizer2 | |
Version: 2.3.1 (1980) | |
PID: 823 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Helvetica, Arial, sans-serif; | |
} | |
h1 { | |
padding: 1em; | |
border: 1px black dashed; | |
} | |
h2 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
sleep(rand(1,20)); | |
header("Access-Control-Allow-Origin: *"); | |
header("Content-type: text/plain"); | |
echo "OK\n"; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/javascript/transport/cors.js b/javascript/transport/cors.js | |
index e3af40d..074c1f7 100644 | |
--- a/javascript/transport/cors.js | |
+++ b/javascript/transport/cors.js | |
@@ -1,26 +1,29 @@ | |
Faye.Transport.CORS = Faye.extend(Faye.Class(Faye.Transport, { | |
+ xhr: null, | |
request: function(message, timeout) { | |
var xhrClass = Faye.ENV.XDomainRequest ? XDomainRequest : XMLHttpRequest, | |
- xhr = new xhrClass(), |