UNPKG
todomvc
Version:
latest (0.1.1)
0.1.1
0.1.0
> Helping you select an MV\* framework
todomvc
/
examples
/
typescript-angular
/
js
/
models
/
TodoItem.js
15 lines
(13 loc)
•
341 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// <reference path='../_all.ts' />
var
todos; (
function
(
todos
) {
'use strict'
;
var
TodoItem
= (
function
(
) {
function
TodoItem
(
title, completed
) {
this
.
title
= title;
this
.
completed
= completed; }
return
TodoItem
; })(); todos.
TodoItem
=
TodoItem
; })(todos || (todos = {}));