UNPKG
todomvc
Version:
latest (0.1.1)
0.1.1
0.1.0
> Helping you select an MV\* framework
todomvc
/
examples
/
thorax
/
js
/
app.js
14 lines
(12 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*global Thorax, Backbone*/
/*jshint unused:false*/
var
ENTER_KEY
=
13
; (
function
(
) {
'use strict'
;
// Kick things off by creating the **App**.
var
view =
new
Thorax
.
Views
.
app
({
collection
:
window
.
app
.
Todos
}); view.
appendTo
(
'body'
);
Backbone
.
history
.
start
(); }());