Skip to content

Commit cd4cb69

Browse files
committed
Added core for WebMole2 platform and iframe-based micro-crawler
0 parents  commit cd4cb69

15 files changed

+5844
-0
lines changed

SpecRunner.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2+
"http://www.w3.org/TR/html4/loose.dtd">
3+
<html>
4+
<head>
5+
<title>Jasmine Spec Runner</title>
6+
7+
<link rel="shortcut icon" type="image/png" href="lib/jasmine-1.3.1/jasmine_favicon.png">
8+
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
9+
<script type="text/javascript" src="lib/jasmine-1.3.1/jasmine.js"></script>
10+
<script type="text/javascript" src="lib/jasmine-1.3.1/jasmine-html.js"></script>
11+
12+
<!-- include source files here... -->
13+
<script type="text/javascript" src="src/Dom.js"></script>
14+
<script type="text/javascript" src="src/Wsm.js"></script>
15+
<script type="text/javascript" src="src/VanillaWsm.js"></script>
16+
<script type="text/javascript" src="src/NoBacktrackWsm.js"></script>
17+
18+
<!-- include spec files here... -->
19+
<script type="text/javascript" src="spec/SpecHelper.js"></script>
20+
<script type="text/javascript" src="spec/DomSpec.js"></script>
21+
<script type="text/javascript" src="spec/WsmSpec.js"></script>
22+
<script type="text/javascript" src="spec/VanillaWsmSpec.js"></script>
23+
<script type="text/javascript" src="spec/NoBacktrackWsmSpec.js"></script>
24+
25+
<script type="text/javascript">
26+
(function() {
27+
var jasmineEnv = jasmine.getEnv();
28+
jasmineEnv.updateInterval = 1000;
29+
30+
var htmlReporter = new jasmine.HtmlReporter();
31+
32+
jasmineEnv.addReporter(htmlReporter);
33+
34+
jasmineEnv.specFilter = function(spec) {
35+
return htmlReporter.specFilter(spec);
36+
};
37+
38+
var currentWindowOnload = window.onload;
39+
40+
window.onload = function() {
41+
if (currentWindowOnload) {
42+
currentWindowOnload();
43+
}
44+
execJasmine();
45+
};
46+
47+
function execJasmine() {
48+
jasmineEnv.execute();
49+
}
50+
51+
})();
52+
</script>
53+
54+
</head>
55+
56+
<body>
57+
</body>
58+
</html>

lib/jasmine-1.3.1/MIT.LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2008-2011 Pivotal Labs
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)