-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
55 lines (46 loc) · 2.41 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
<!DOCTYPE html>
<html>
<head>
<link rel=StyleSheet href="morningstar.css" type="text/css" media=screen>
<title>Morning Star Synth</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="http://github.com/notmasteryet/audiodata/raw/master/audiodata.js"></script>
<script type="text/javascript" src="../KievII/utilities/Utilities.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/Element.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/UI.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/Background.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/Button.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/RotKnob.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/Label.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/wrappers/CanvasDraw.js"></script>
<script type="text/javascript" src="../KievII/graphic_elements/wrappers/Wrappers.js"></script>
<script type="text/javascript" src="audio/ndprocess.js"></script>
<script type="text/javascript" src="audio/ADNonDescript.js"></script>
<script type="text/javascript" src="morningstar.js"></script>
</head>
<body>
<canvas id="plugin" width="920" height="574"></canvas>
<script type="text/javascript">
// This should fix "console not defined" problem.
if (typeof console=="undefined"){console={log:function(A){var B=false;if(B){alert(A)}}}}
// Function.prototype.bind polyfill
if ( !Function.prototype.bind ) {
Function.prototype.bind = function( obj ) {
if(typeof this !== 'function') // closest thing possible to the ECMAScript 5 internal IsCallable function
throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
var slice = [].slice,
args = slice.call(arguments, 1),
self = this,
nop = function () {},
bound = function () {
return self.apply( this instanceof nop ? this : ( obj || {} ),
args.concat( slice.call(arguments) ) );
};
bound.prototype = this.prototype;
return bound;
};
}
MORNINGSTAR.init();
</script>
</body>
</html>