Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
e22a7d8d
Commit
e22a7d8d
authored
Jan 06, 2016
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pr/1577'
Close #1577
parents
d692aa3f
ddd4e059
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6905 additions
and
4018 deletions
+6905
-4018
examples/typescript-angular/js/Application.js
examples/typescript-angular/js/Application.js
+1
-1
examples/typescript-angular/js/Application.js.map
examples/typescript-angular/js/Application.js.map
+1
-1
examples/typescript-angular/js/controllers/TodoCtrl.ts
examples/typescript-angular/js/controllers/TodoCtrl.ts
+1
-1
examples/typescript-angular/js/interfaces/ITodoScope.ts
examples/typescript-angular/js/interfaces/ITodoScope.ts
+2
-2
examples/typescript-angular/node_modules/angular/angular.js
examples/typescript-angular/node_modules/angular/angular.js
+6900
-4012
examples/typescript-angular/node_modules/todomvc-app-css/index.css
...typescript-angular/node_modules/todomvc-app-css/index.css
+0
-1
No files found.
examples/typescript-angular/js/Application.js
View file @
e22a7d8d
...
@@ -129,7 +129,7 @@ var todos;
...
@@ -129,7 +129,7 @@ var todos;
TodoCtrl
.
prototype
.
onPath
=
function
(
path
)
{
TodoCtrl
.
prototype
.
onPath
=
function
(
path
)
{
this
.
$scope
.
statusFilter
=
(
path
===
'
/active
'
)
?
this
.
$scope
.
statusFilter
=
(
path
===
'
/active
'
)
?
{
completed
:
false
}
:
(
path
===
'
/completed
'
)
?
{
completed
:
false
}
:
(
path
===
'
/completed
'
)
?
{
completed
:
true
}
:
null
;
{
completed
:
true
}
:
{}
;
};
};
TodoCtrl
.
prototype
.
onTodos
=
function
()
{
TodoCtrl
.
prototype
.
onTodos
=
function
()
{
this
.
$scope
.
remainingCount
=
this
.
filterFilter
(
this
.
todos
,
{
completed
:
false
}).
length
;
this
.
$scope
.
remainingCount
=
this
.
filterFilter
(
this
.
todos
,
{
completed
:
false
}).
length
;
...
...
examples/typescript-angular/js/Application.js.map
View file @
e22a7d8d
{"version":3,"file":"Application.js","sourceRoot":"","sources":["models/TodoItem.ts","interfaces/ITodoScope.ts","interfaces/ITodoStorage.ts","directives/TodoFocus.ts","directives/TodoBlur.ts","directives/TodoEscape.ts","services/TodoStorage.ts","controllers/TodoCtrl.ts","Application.ts","_all.ts"],"names":["todos","todos.TodoItem","todos.TodoItem.constructor","todos.todoFocus","todos.todoBlur","todos.todoEscape","todos.TodoStorage","todos.TodoStorage.constructor","todos.TodoStorage.get","todos.TodoStorage.put","todos.TodoCtrl","todos.TodoCtrl.constructor","todos.TodoCtrl.onPath","todos.TodoCtrl.onTodos","todos.TodoCtrl.addTodo","todos.TodoCtrl.editTodo","todos.TodoCtrl.revertEdits","todos.TodoCtrl.doneEditing","todos.TodoCtrl.removeTodo","todos.TodoCtrl.clearDoneTodos","todos.TodoCtrl.markAll"],"mappings":"AAAA,mCAAmC;AAEnC,IAAO,KAAK,CASX;AATD,WAAO,KAAK,EAAC,CAAC;IACVA,YAAYA,CAACA;IAEbA;QACIC,kBACWA,KAAaA,EACbA,SAAkBA;YADlBC,UAAKA,GAALA,KAAKA,CAAQA;YACbA,cAASA,GAATA,SAASA,CAASA;QACrBA,CAACA;QACbD,eAACA;IAADA,CAACA,AALDD,IAKCA;IALYA,cAAQA,WAKpBA,CAAAA;AACLA,CAACA,EATM,KAAK,KAAL,KAAK,QASX;ACXD,mCAAmC;ACAnC,mCAAmC;ACAnC,mCAAmC;AAEnC,IAAO,KA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AAC3C,iDAAiD;AACjD,mDAAmD;AACnD,gDAAgD;AAChD,+CAA+C;AAC/C,iDAAiD;AACjD,gDAAgD;AAChD,gDAAgD;AAChD,uCAAuC"}
{"version":3,"file":"Application.js","sourceRoot":"","sources":["models/TodoItem.ts","interfaces/ITodoScope.ts","interfaces/ITodoStorage.ts","directives/TodoFocus.ts","directives/TodoBlur.ts","directives/TodoEscape.ts","services/TodoStorage.ts","controllers/TodoCtrl.ts","Application.ts","_all.ts"],"names":["todos","todos.TodoItem","todos.TodoItem.constructor","todos.todoFocus","todos.todoBlur","todos.todoEscape","todos.TodoStorage","todos.TodoStorage.constructor","todos.TodoStorage.get","todos.TodoStorage.put","todos.TodoCtrl","todos.TodoCtrl.constructor","todos.TodoCtrl.onPath","todos.TodoCtrl.onTodos","todos.TodoCtrl.addTodo","todos.TodoCtrl.editTodo","todos.TodoCtrl.revertEdits","todos.TodoCtrl.doneEditing","todos.TodoCtrl.removeTodo","todos.TodoCtrl.clearDoneTodos","todos.TodoCtrl.markAll"],"mappings":"AAAA,mCAAmC;AAEnC,IAAO,KAAK,CASX;AATD,WAAO,KAAK,EAAC,CAAC;IACVA,YAAYA,CAACA;IAEbA;QACIC,kBACWA,KAAaA,EACbA,SAAkBA;YADlBC,UAAKA,GAALA,KAAKA,CAAQA;YACbA,cAASA,GAATA,SAASA,CAASA;QACrBA,CAACA;QACbD,eAACA;IAADA,CAACA,AALDD,IAKCA;IALYA,cAAQA,WAKpBA,CAAAA;AACLA,CAACA,EATM,KAAK,KAAL,KAAK,QASX;ACXD,mCAAmC;ACAnC,mCAAmC;ACAnC,mCAAmC;AAEnC,IAAO,KAAK,CAoBX;AApBD,WAAO,KAAK,EAAC,CAAC;IACbA,YAAYA,CAACA;IAEbA;;OAEGA;IACHA,mBAA0BA,QAA4BA;QACrDG,MAAMA,CAACA;YACNA,IAAIA,EAAEA,UAACA,MAAiBA,EAAEA,OAAeA,EAAEA,UAAeA;gBACzDA,MAAMA,CAACA,MAAMA,C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EAAnBA,CAAmBA,CAACA,CAACA;QACrFA,CAACA;QAEDT,0BAAOA,GAAPA,UAAQA,SAAkBA;YACzBU,IAAIA,CAACA,KAAKA,CAACA,OAAOA,CAACA,UAAAA,QAAQA,IAAMA,QAAQA,CAACA,SAASA,GAAGA,SAASA,CAACA,CAACA,CAACA,CAACA,CAACA;QACrEA,CAACA;QAhGDV,sBAAsBA;QACtBA,4FAA4FA;QAC5FA,yGAAyGA;QACzGA,yCAAyCA;QAC3BA,gBAAOA,GAAGA;YACvBA,QAAQA;YACRA,WAAWA;YACXA,aAAaA;YACbA,cAAcA;SACdA,CAACA;QAwFHA,eAACA;IAADA,CAACA,AArGDV,IAqGCA;IArGYA,cAAQA,WAqGpBA,CAAAA;AAEFA,CAACA,EA/GM,KAAK,KAAL,KAAK,QA+GX;ACjHD,gCAAgC;AAEhC;;;;GAIG;AACH,IAAO,KAAK,CASX;AATD,WAAO,KAAK,EAAC,CAAC;IACVA,YAAYA,CAACA;IAEbA,IAAIA,OAAOA,GAAGA,OAAOA,CAACA,MAAMA,CAACA,SAASA,EAAEA,EAAEA,CAACA;SAClCA,UAAUA,CAACA,UAAUA,EAAEA,cAAQA,CAACA;SAChCA,SAASA,CAACA,UAAUA,EAAEA,cAAQA,CAACA;SAC/BA,SAASA,CAACA,WAAWA,EAAEA,eAASA,CAACA;SACjCA,SAASA,CAACA,YAAYA,EAAEA,gBAAUA,CAACA;SACnCA,OAAOA,CAACA,aAAaA,EAAEA,iBAAWA,CAACA,CAACA;AACjDA,CAACA,EATM,KAAK,KAAL,KAAK,QASX;AChBD,gDAAgD;AAChD,kDAAkD;AAClD,2CAA2C;AAC3C,iDAAiD;AACjD,mDAAmD;AACnD,gDAAgD;AAChD,+CAA+C;AAC/C,iDAAiD;AACjD,gDAAgD;AAChD,gDAAgD;AAChD,uCAAuC"}
\ No newline at end of file
\ No newline at end of file
examples/typescript-angular/js/controllers/TodoCtrl.ts
View file @
e22a7d8d
...
@@ -52,7 +52,7 @@ module todos {
...
@@ -52,7 +52,7 @@ module todos {
onPath
(
path
:
string
)
{
onPath
(
path
:
string
)
{
this
.
$scope
.
statusFilter
=
(
path
===
'
/active
'
)
?
this
.
$scope
.
statusFilter
=
(
path
===
'
/active
'
)
?
{
completed
:
false
}
:
(
path
===
'
/completed
'
)
?
{
completed
:
false
}
:
(
path
===
'
/completed
'
)
?
{
completed
:
true
}
:
null
;
{
completed
:
true
}
:
{}
;
}
}
onTodos
()
{
onTodos
()
{
...
...
examples/typescript-angular/js/interfaces/ITodoScope.ts
View file @
e22a7d8d
...
@@ -10,8 +10,8 @@ module todos {
...
@@ -10,8 +10,8 @@ module todos {
doneCount
:
number
;
doneCount
:
number
;
allChecked
:
boolean
;
allChecked
:
boolean
;
reverted
:
boolean
;
reverted
:
boolean
;
statusFilter
:
{
completed
:
boolean
;
};
statusFilter
:
{
completed
?:
boolean
};
location
:
ng
.
ILocationService
;
location
:
ng
.
ILocationService
;
vm
:
TodoCtrl
;
vm
:
TodoCtrl
;
}
}
}
}
\ No newline at end of file
examples/typescript-angular/node_modules/angular/angular.js
View file @
e22a7d8d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
examples/typescript-angular/node_modules/todomvc-app-css/index.css
View file @
e22a7d8d
...
@@ -316,7 +316,6 @@ html .clear-completed:active {
...
@@ -316,7 +316,6 @@ html .clear-completed:active {
line-height
:
20px
;
line-height
:
20px
;
text-decoration
:
none
;
text-decoration
:
none
;
cursor
:
pointer
;
cursor
:
pointer
;
position
:
relative
;
}
}
.clear-completed
:hover
{
.clear-completed
:hover
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment