-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathindex.html
85 lines (71 loc) · 3.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<title>differ - </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="./images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="./css/code.css" media="all">
<link rel="stylesheet" type="text/css" href="./css/font.css" media="all">
<link rel="stylesheet" type="text/css" href="./css/tooltipster.css" media="all">
<link rel="stylesheet" type="text/css" href="./css/tooltipster-shadow.css" media="all">
<script src="./js/jquery-2.0.3.min.js"> </script>
<script src="./js/jquery.tooltipster.min.js"> </script>
<script>
$(document).ready(function() {
$('.section').css('display','none');
$('.readmore').click(function(e){
var _child = $(this).parent().find('.section').first();
var _opp = 'block';
if( _child.css('display') == 'block' ) {
_opp = 'none';
} else {
}
_child.css('display', _opp);
});
$('div.sample').on('click', function(e){
//get the data tag
var content = $(this).attr('data-content');
//remove clicking handler
$(this).off('click');
//replace the content!
$(this).html('<iframe src="'+content+'" sandbox="allow-same-origin allow-scripts" style="overflow:hidden; scrollbar:none; border: 0; width:645px; height:450px;"></iframe> ')
});
$('.tooltip').each(function(e){
var c = $(this).attr('data-tooltip');
$(this).tooltipster({
content:$('<span>' + c + '</span>'),
interactive:true,
theme:'tooltipster-shadow'
});
});
}); //document.ready
</script>
</head>
<body>
<div class="content">
<p><a href="./index.html"><img src="./images/logo.png" alt="Logo"></a></p>
<hr>
<h2 id="about">About</h2>
<p>A <a href="http://en.wikipedia.org/wiki/Hyperplane_separation_theorem">Separating Axis Theorom</a> collision library for <a href="http://haxe.org">haxe</a></p>
<p><a href="http://haxe.org"> <img src="./images/haxe.png" alt="haxe"> </a></p>
<hr>
<h2 id="-view-api-api-index-html-"><a href="api/index.html">View API</a></h2>
<hr>
<h2 id="getting-started">Getting Started</h2>
<p><code>haxelib install differ</code></p>
<p>or </p>
<p><code>haxelib git differ https://github.com/snowkit/differ.git</code></p>
<p>or git clone the repo, from here. Then use </p>
<p><code>haxelib dev differ /path/to/repo</code></p>
<h2 id="building-the-usage-examples">Building the usage examples</h2>
<p>To build the usage examples in the <code>test/</code> folder :</p>
<ul>
<li>install <a href="http://luxeengine.com/docs/setup.html">luxe</a></li>
<li><code>flow run web</code> (or any luxe target)</li>
</ul>
<hr>
<p> </p>
</div>
</body>
</html>