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
Eugene Shen
todomvc
Commits
b461a23c
Commit
b461a23c
authored
May 05, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Batman.js: Replace lib with minified
parent
eec8f49f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10757 deletions
+9
-10757
labs/architecture-examples/batman/index.html
labs/architecture-examples/batman/index.html
+1
-1
labs/architecture-examples/batman/js/app.js
labs/architecture-examples/batman/js/app.js
+2
-3
labs/architecture-examples/batman/js/lib/batman.js
labs/architecture-examples/batman/js/lib/batman.js
+0
-10753
labs/architecture-examples/batman/js/lib/batman.min.js
labs/architecture-examples/batman/js/lib/batman.min.js
+6
-0
No files found.
labs/architecture-examples/batman/index.html
View file @
b461a23c
...
...
@@ -68,7 +68,7 @@
</footer>
</div>
<script
src=
"../../../assets/base.js"
></script>
<script
src=
"js/lib/batman.js"
></script>
<script
src=
"js/lib/batman.
min.
js"
></script>
<script
src=
"js/app.js"
></script>
</body>
</html>
\ No newline at end of file
labs/architecture-examples/batman/js/app.js
View file @
b461a23c
...
...
@@ -16,9 +16,9 @@
Alfred
.
root
(
'
todos#all
'
);
Alfred
.
route
(
"
/completed
"
,
"
todos#completed
"
);
Alfred
.
route
(
'
/completed
'
,
'
todos#completed
'
);
Alfred
.
route
(
"
/active
"
,
"
todos#active
"
);
Alfred
.
route
(
'
/active
'
,
'
todos#active
'
);
return
Alfred
;
...
...
@@ -118,7 +118,6 @@
editing
=
todo
.
set
(
'
editing
'
,
!
todo
.
get
(
'
editing
'
));
if
(
editing
)
{
input
=
document
.
getElementById
(
"
todo-input-
"
+
(
todo
.
get
(
'
id
'
)));
input
.
focus
();
return
input
.
select
();
}
else
{
if
(((
_ref
=
todo
.
get
(
'
title
'
))
!=
null
?
_ref
.
length
:
void
0
)
>
0
)
{
...
...
labs/architecture-examples/batman/js/lib/batman.js
deleted
100644 → 0
View file @
eec8f49f
This diff is collapsed.
Click to expand it.
labs/architecture-examples/batman/js/lib/batman.min.js
0 → 100644
View file @
b461a23c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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