-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
130 lines (122 loc) · 5.77 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" ng-app="RxHubApp">
<head>
<meta charset="utf-8" />
<title>ReactiveX Hub</title>
<meta name="author" content="Mohamad Qaddura">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="lib/angular/angular.js"></script>
<link rel="stylesheet" href="lib/codemirror/codemirror.css"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link href="lib/codemirror/material.css" rel="stylesheet" />
<link href="style/style.css" rel="stylesheet" />
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.teal-orange.min.css" />
</head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer
mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<div class="mdl-layout-spacer"></div>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable
mdl-textfield--floating-label mdl-textfield--align-right" ng-hide="true">
<label class="mdl-button mdl-js-button mdl-button--icon"
for="fixed-header-drawer-exp">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input class="mdl-textfield__input" type="text" name="search"
id="fixed-header-drawer-exp">
</div>
</div>
</div>
</header>
<div class="mdl-layout__drawer" ng-controller="searchController">
<span class="mdl-layout-title"><a href="#/home"><img id="logo" src="content/img/Logo_By_Adam_Farhoud.png" /></a></span>
<nav class="mdl-navigation" id="navigator">
<ul ng-repeat="link in links" ng-init="top=link">
<a href="{{link.link}}" class="mdl-navigation__link top" ng-hide="{{link.hide || link.isFake}}">{{link.title}}</a>
<ul ng-repeat="link in top.links" ng-init="middle=link" ng-hide="{{link.hide || top.hide}}">
<a class="mdl-navigation__link middle" href="{{link.link}}" ng-hide="{{link.hide || link.isFake}}">{{link.title}}</a>
<ul ng-repeat="link in middle.links" ng-hide="{{link.hide || middle.hide}}">
<a class="mdl-navigation__link low" href="{{link.link}}" ng-hide="{{link.hide}}">{{link.title}}</a>
</ul>
</ul>
</ul>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<div ng-view></div>
</div>
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<div class="mdl-logo">ReactiveX Hub</div>
<ul class="mdl-mini-footer__link-list">
<li><a href="https://github.com/msqaddura/ReactiveXHub" target="_blank"><img src="GitHub-Mark-Light-32px.png" /></a></li>
<li><a href="#"></a></li>
</ul>
</div>
</footer>
</main>
</div>
<script>
Array.prototype.peek = function () {
return (this.length) ? this[this.length - 1] : null;
}
</script>
<script src="js/workArounds.js"></script>
<script src="lib/jquery.js"></script>
<script src="lib/material.js"></script>
<script src="lib/rx.all.js"></script>
<script>
window.ANON = [];
Rx.Observable.prototype.subscribe = function (oOrOnNext, onError, onCompleted) {
return this._subscribe(typeof oOrOnNext === 'object' ?
oOrOnNext :
Rx.Observer.create(oOrOnNext, onError, onCompleted,true));
}
Rx.Observable.forEach = function (oOrOnNext, onError, onCompleted) {
return this._subscribe(typeof oOrOnNext === 'object' ?
oOrOnNext :
Rx.Observer.create(oOrOnNext, onError, onCompleted, true));
}
Rx.Observer.create = function (onNext, onError, onCompleted, keepHistory) {
onNext || (onNext = noop);
onError || (onError = defaultError);
onCompleted || (onCompleted = noop);
return new Rx.AnonymousObserver(onNext, onError, onCompleted, keepHistory);
};
Rx.AnonymousObserver.prototype.next = function (value) {
if (this._keepHistory) {
window.NXT(value);
this.history.push({ value: value, type: "onNext" })
}
this._onNext(value);
};
Rx.AnonymousObserver.prototype.error = function (error) {
if (this._keepHistory) {
window.ERR(error);
this.history.push({ value: error, type: "onError" })
}
this._onError(error);
};
Rx.AnonymousObserver.prototype.completed = function () {
if (this._keepHistory) {
window.CMP();
this.history.push({ value: null, type: "onCompleted" })
}
this._onCompleted();
};
</script>
<script src="lib/angular/angular-route.js"></script>
<script src="lib/codemirror/codemirror.js"></script>
<script src="lib/codemirror/runmode.js"></script>
<script src="lib/codemirror/colorize.js"></script>
<script src="lib/codemirror/active-line.js"></script>
<script src="lib/codemirror/javascript.js"></script>
<script src="js/app.js"></script>
<script src="controllers/mainController.js"></script>
<script src="controllers/buttonsController.js"></script>
</body>
</html>