-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
30 lines (27 loc) · 1.03 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
<html>
<head>
<title></title>
<!-- Live Reload Script -->
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] +
':35729/livereload.js?snipver=2"></' + 'script>')</script>
<!-- INCLUDE ALL LIBS HERE -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="./js/libs/three.min.js" type="text/javascript"></script>
<!-- END INCLUDE -->
</head>
<body>
<div id="container">Your browser doesn't support WebGL or it doesn't have it enabled. To get WebGL visit <a href="http://get.webgl.org">www.get.webgl.org</a></div>
</body>
</html>
<!-- INCLUDE ALL COFFEE TO JS COMPILED SCRIPTS HERE -->
<!-- END INCLUDE -->
<script type="text/javascript">
Object.prototype.getName = function() {
var funcNameRegex = /function (.{1,})\(/;
var results = (funcNameRegex).exec((this).constructor.toString());
return (results && results.length > 1) ? results[1] : "";
};
window.app = Main();
window.app = new Main();
window.animate();
</script>