Skip to content

Commit 446968c

Browse files
committed
made tests runnable w/o qunit
1 parent f049919 commit 446968c

File tree

3 files changed

+6
-30
lines changed

3 files changed

+6
-30
lines changed

samples/sample101.html

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@
1515
<meta name="Author" content="Owen Beresford" />
1616
<meta name="Description" content="This is list of things at I have changed in this site" />
1717

18-
<link rel="stylesheet" type="text/css" href="/resource/reach-positional" />
19-
<link rel="stylesheet" type="text/css" href="/asset/qunit-1.11.0.css" />
20-
21-
<script type="text/javascript" src="/asset/jquery-1.10.2" ></script>
22-
<script type="text/javascript" src="/asset/jquery.columnizer"></script>
23-
<script type="text/javascript" src="/asset/qunit-1.11.0.js"></script>
18+
<script type="text/javascript" src="../src/jquery.js" ></script>
19+
<script type="text/javascript" src="../src/jquery.columnizer.js"></script>
2420
<script type="text/javascript" >
2521
var $ice={
2622
last:0,
@@ -74,21 +70,8 @@
7470
// http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-start
7571
};
7672

77-
var $spawn=function() {
78-
79-
var $id=666;
80-
window.open(location.protocol+'//'+location.hostname+"/external/c2.html?no=1", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=800,height=600');
81-
window.open(location.protocol+'//'+location.hostname+"/external/c2.html?no=2", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=1201,height=600');
82-
window.open(location.protocol+'//'+location.hostname+"/external/c3.html?no=1", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=800,height=600');
83-
window.open(location.protocol+'//'+location.hostname+"/external/c3.html?no=2", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=1201,height=600');
84-
alert("Im pausing here, check they all worked...");
85-
return 0;
86-
}
87-
88-
8973
if(jQuery) {
9074
$(document).ready($ice_col);
91-
$(document).ready($spawn);
9275
}
9376

9477
</script>

samples/sample102.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@
1515
<meta name="Author" content="Owen Beresford" />
1616
<meta name="Description" content="This is list of things at I have changed in this site" />
1717

18-
<link rel="stylesheet" type="text/css" href="/resource/reach-positional" />
19-
<link rel="stylesheet" type="text/css" href="/asset/qunit-1.11.0.css" />
20-
21-
<script type="text/javascript" src="/asset/jquery-1.10.2" ></script>
22-
<script type="text/javascript" src="/asset/jquery.columnizer"></script>
23-
<script type="text/javascript" src="/asset/qunit-1.11.0.js"></script>
18+
<script type="text/javascript" src="../src/jquery.js" ></script>
19+
<script type="text/javascript" src="../src/jquery.columnizer.js"></script>
2420
<script type="text/javascript" >
2521
var $ice={
2622
last:0,

samples/sample103.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@
1515
<meta name="Author" content="Owen Beresford" />
1616
<meta name="Description" content="This is list of things at I have changed in this site" />
1717

18-
<link rel="stylesheet" type="text/css" href="/resource/reach-positional" />
19-
<link rel="stylesheet" type="text/css" href="/asset/qunit-1.11.0.css" />
20-
21-
<script type="text/javascript" src="/asset/jquery-1.10.2" ></script>
22-
<script type="text/javascript" src="/asset/jquery.columnizer.js"></script>
18+
<script type="text/javascript" src="../src/jquery.js" ></script>
19+
<script type="text/javascript" src="../src/jquery.columnizer.js"></script>
2320
<script type="text/javascript" src="/asset/qunit-1.11.0.js"></script>
2421
<script type="text/javascript" >
2522
var $ice={

0 commit comments

Comments
 (0)