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
bf606a05
Commit
bf606a05
authored
Jun 03, 2012
by
Christoph Burgdorf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed booter.js and actually use the module that we already have
parent
77b54786
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
architecture-examples/angularjs/index.html
architecture-examples/angularjs/index.html
+1
-2
architecture-examples/angularjs/js/booter.js
architecture-examples/angularjs/js/booter.js
+0
-2
architecture-examples/angularjs/js/controllers.js
architecture-examples/angularjs/js/controllers.js
+3
-2
No files found.
architecture-examples/angularjs/index.html
View file @
bf606a05
...
...
@@ -10,7 +10,7 @@
<![endif]-->
</head>
<body>
<div
ng-controller=
"
App.Controllers.
TodoController"
id=
"todoapp"
>
<div
ng-controller=
"TodoController"
id=
"todoapp"
>
<header>
<h1>
Todos
</h1>
<form
id=
"todo-form"
ng-submit=
"addTodo()"
>
...
...
@@ -47,7 +47,6 @@
Credits:
<a
href=
"http://twitter.com/cburgdorf"
>
Christoph Burgdorf
</a>
,
<a
href=
"http://ericbidelman.com"
>
Eric Bidelman
</a>
</div>
<script
src=
"../../assets/base.js"
></script>
<script
src=
"js/booter.js"
></script>
<script
src=
"js/libs/angular/angular.min.js"
></script>
<script
src=
"js/controllers.js"
></script>
</body>
...
...
architecture-examples/angularjs/js/booter.js
deleted
100644 → 0
View file @
77b54786
var
App
=
{};
App
.
Controllers
=
{};
architecture-examples/angularjs/js/controllers.js
View file @
bf606a05
...
...
@@ -2,7 +2,8 @@
var
todomvc
=
angular
.
module
(
'
todomvc
'
,
[]);
App
.
Controllers
.
TodoController
=
function
(
$scope
)
{
todomvc
.
controller
(
'
TodoController
'
,[
'
$scope
'
,
function
(
$scope
)
{
$scope
.
todos
=
retrieveStore
();
// Call updateStore() whenever the todos array changes.
...
...
@@ -92,4 +93,4 @@ App.Controllers.TodoController = function($scope) {
todo
.
done
=
markDone
;
});
};
};
}
])
;
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