-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
128 lines (101 loc) · 3.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<@base.tag@/>
<meta charset="UTF-8">
<title>BladeRunnerJS MVC Todo</title>
<@css.bundle theme="standard"@/>
<@i18n.bundle@/>
</head>
<body class="learn-bar">
<aside class="learn">
<header>
<h3>BladeRunnerJS</h3>
<span class="source-links">
<h5>KnockoutJS Example</h5>
<a href="https://github.com/BladeRunnerJS/brjs-todomvc-knockout">Source</a>
</span>
</header>
<hr>
<blockquote class="quote speech-bubble">
<p>BladeRunnerJS (BRJS) is an open source development toolkit and framework for modular construction of large single-page HTML5 apps. It consists of a set of conventions, supporting tools and micro-libraries that make it easier for teams to develop, test, deploy and maintain complex JavaScript apps.</p>
<footer>
<a href="http://bladerunnerjs.org">BladeRunnerJS</a>
</footer>
</blockquote>
<hr>
<h4>Other Examples</h4>
<ul>
<li>
<h5>AngularJS Example</h5>
<a href="http://bladerunnerjs.github.io/brjs-todomvc-angular/">Demo</a>, <a href="https://github.com/BladeRunnerJS/brjs-todomvc-angular">Source</a>
</li>
</ul>
<h4>Official Resources</h4>
<ul>
<li>
<a href="http://bladerunnerjs.org">Website</a>
</li>
<li>
<a href="http://bladerunnerjs.org/docs">Documentation</a>
</li>
<li>
<a href="http://bladerunnerjs.org/blog/">Blog</a>
</li>
<li>
<a href="http://bladerunnerjs.org/docs/reference/faq/">FAQ</a>
</li>
</ul>
<h4>Articles and Guides</h4>
<ul>
<li>
<a href="http://bladerunnerjs.org/docs/use/getting_started/">Getting Started</a>
</li>
<li>
<a href="bladerunnerjs.org/blog/using-angularjs-with-bladerunnerjs/">BRJS & AngularJS</a>
</li>
</ul>
<h4>Community</h4>
<ul>
<li>
<a href="http://twitter.com/bladerunnerjs">BladeRunnerJS on Twitter</a>
</li>
<li>
<a href="http://stackoverflow.com/questions/tagged/bladerunnerjs">BladeRunnerJS on StackOverflow</a>
</li>
</ul>
<footer>
<hr>
<em>If you have other helpful links to share, or find any of the links above no longer work, please <a href="https://github.com/BladeRunnerJS/brjs-todomvc-knockout/issues">let us know</a>.</em>
</footer>
</aside>
<section id="todoapp"></section>
<footer class="info">
<p>Double-click to edit a todo</p>
<p>Created by <a href="https://github.com/orgs/BladeRunnerJS/members">The BladeRunnerJS team</a></p>
<p>An example of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
<@js.bundle@/>
<script>
( function() {
var ServiceRegistry = require( 'br/ServiceRegistry' );
var EventHub = require( 'br/EventHub' );
ServiceRegistry.registerService( 'br.event-hub', new EventHub() );
var App = require( 'brjstodo/App' );
var app = new App();
hacks();
} )();
function hacks() {
// Hack until CSS bundlers are fixed
var styleEls = document.getElementsByTagName( 'link' );
var el;
for( var i = 0, l = styleEls.length; i < l; ++i ) {
el = styleEls[ i ];
if( el && /(\/)?css\/common\/bundle\.css$/.test( el.href ) ) {
el.parentNode.removeChild( el );
}
}
}
</script>
</body>
</html>