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
ed62c2fa
Commit
ed62c2fa
authored
Feb 26, 2013
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #471 from passy/thorax-ready
Thorax: Removed on-ready initializtions
parents
d57de54a
ac36e41a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
labs/architecture-examples/thorax/js/app.js
labs/architecture-examples/thorax/js/app.js
+3
-3
labs/architecture-examples/thorax/js/views/app.js
labs/architecture-examples/thorax/js/views/app.js
+3
-3
labs/architecture-examples/thorax/js/views/todo-item.js
labs/architecture-examples/thorax/js/views/todo-item.js
+3
-3
No files found.
labs/architecture-examples/thorax/js/app.js
View file @
ed62c2fa
/*global
$,
Thorax, Backbone*/
/*global Thorax, Backbone*/
/*jshint unused:false*/
var
ENTER_KEY
=
13
;
$
(
function
()
{
(
function
()
{
'
use strict
'
;
// Kick things off by creating the **App**.
var
view
=
new
Thorax
.
Views
.
app
({
...
...
@@ -10,4 +10,4 @@ $(function () {
});
view
.
appendTo
(
'
body
'
);
Backbone
.
history
.
start
();
});
}
()
);
labs/architecture-examples/thorax/js/views/app.js
View file @
ed62c2fa
/*global Thorax,
$,
ENTER_KEY*/
$
(
function
()
{
/*global Thorax, ENTER_KEY*/
(
function
()
{
'
use strict
'
;
// The Application
...
...
@@ -66,4 +66,4 @@ $(function () {
});
}
});
});
}
()
);
labs/architecture-examples/thorax/js/views/todo-item.js
View file @
ed62c2fa
/*global Thorax,
$,
ENTER_KEY*/
$
(
function
()
{
/*global Thorax, ENTER_KEY*/
(
function
()
{
'
use strict
'
;
// Todo Item View
...
...
@@ -65,4 +65,4 @@ $(function () {
this
.
model
.
destroy
();
}
});
});
}
()
);
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