blob: 0232da9599840776f43bca642516523d0bcddbe2 [file] [log] [blame]
genia.likes.science@gmail.comc5f82a22013-05-08 02:44:35 -07001<!doctype html>
2<html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=100">
6 <title>easyTest results</title>
7 <script type="text/javascript" src="../easyXDM.debug.js">
8 // The first instance of easyXDM
9 </script>
10 <script type="text/javascript">
11 easyXDM._test_global = true;
12 </script>
13 <script type="text/javascript" src="../easyXDM.debug.js">
14 // The second instance of easyXDM (to test noConflict)
15 </script>
16 <script type="text/javascript">
17 // Used in the noConflict test
18 var modules = {
19 easyXDM: easyXDM.noConflict("modules")
20 };
21 </script>
22 <script type="text/javascript">
23 if (location.href.indexOf("src") !== -1) {
24 if (typeof JSON === "undefined") {
25 document.write(unescape("%3Cscript src='../../tools/json2.js' type='text/javascript'%3E%3C/script%3E"));
26 }
27 }
28 else {
29 if (typeof JSON === "undefined") {
30 document.write(unescape("%3Cscript src='../json2.js' type='text/javascript'%3E%3C/script%3E"));
31 }
32 }
33 </script>
34 <script type="text/javascript" src="easyTest.js">
35 </script>
36 <link type="text/css" rel="stylesheet" href="easyTest.css"/>
37 <script type="text/javascript" src="tests.js">
38 </script>
39 <style type="text/css">
40
41 #embedded {
42 height: 100px;
43 }
44
45 #embedded iframe {
46 height: 50px;
47 }
48
49 #log {
50 height: 100px;
51 border: 1px dotted black;
52 overflow: auto
53 }
54
55 .easyTest_messages {
56 height: 300px;
57 border: 1px dotted black;
58 overflow: auto;
59 }
60 </style>
61 </head>
62 <body onload="runTests();">
63 <h1>easyXDM test suite</h1>
64 <h4>easyTest messages</h4>
65 <div id="messages">
66 </div>
67 <h4>easyXDM tracelog</h4>
68 <!-- easyXDM.Debug.trace(msg) will output its messages to any element with the id "log" -->
69 <div id="log">
70 </div>
71 <div id="embedded">
72 </div>
73 <script type="text/javascript">
74 if (location.host.indexOf("easyxdm.net") !== -1) {
75 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
76 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
77 }
78 </script>
79 <script type="text/javascript">
80 if (location.host.indexOf("easyxdm.net") !== -1) {
81 try {
82 var pageTracker = _gat._getTracker("UA-9535591-3");
83 pageTracker._setDomainName(".easyxdm.net");
84 pageTracker._trackPageview();
85 }
86 catch (err) {
87 }
88 }
89 </script>
90 </body>
91</html>