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
62b04cb0
Commit
62b04cb0
authored
Oct 09, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backbone Marionette cleanup. Closes #284
parent
b7cc462a
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
2151 deletions
+23
-2151
CNAME
CNAME
+1
-0
labs/architecture-examples/backbone_marionette/css/app.css
labs/architecture-examples/backbone_marionette/css/app.css
+9
-0
labs/architecture-examples/backbone_marionette/index.html
labs/architecture-examples/backbone_marionette/index.html
+2
-16
labs/architecture-examples/backbone_marionette/js/lib/underscore.js
...tecture-examples/backbone_marionette/js/lib/underscore.js
+0
-1059
labs/architecture-examples/backbone_marionette_modules/css/app.css
...itecture-examples/backbone_marionette_modules/css/app.css
+9
-0
labs/architecture-examples/backbone_marionette_modules/index.html
...hitecture-examples/backbone_marionette_modules/index.html
+2
-17
labs/architecture-examples/backbone_marionette_modules/js/lib/underscore.js
...examples/backbone_marionette_modules/js/lib/underscore.js
+0
-1059
No files found.
CNAME
0 → 100644
View file @
62b04cb0
todomvc.com
\ No newline at end of file
labs/architecture-examples/backbone_marionette/css/
custom
.css
→
labs/architecture-examples/backbone_marionette/css/
app
.css
View file @
62b04cb0
#todoapp
.filter-active
#todo-list
.completed
{
display
:
none
}
#todoapp
.filter-active
#todo-list
.completed
,
#todoapp
.filter-completed
#todo-list
.active
{
display
:
none
display
:
none
;
}
#main
,
#footer
{
display
:
none
;
#main
,
#footer
{
display
:
none
;
}
labs/architecture-examples/backbone_marionette/index.html
View file @
62b04cb0
...
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<title>
Marionette • TodoMVC
</title>
<link
rel=
"stylesheet"
href=
"../../../assets/base.css"
>
<link
rel=
"stylesheet"
href=
"css/
custom
.css"
>
<link
rel=
"stylesheet"
href=
"css/
app
.css"
>
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
...
...
@@ -25,7 +25,7 @@
<!-- vendor libraries -->
<script
src=
"../../../assets/base.js"
></script>
<script
src=
"../../../assets/jquery.min.js"
></script>
<script
src=
"
js/lib/underscore
.js"
></script>
<script
src=
"
../../../assets/lodash.min
.js"
></script>
<script
src=
"js/lib/backbone.js"
></script>
<script
src=
"js/lib/backbone-localStorage.js"
></script>
<script
src=
"js/lib/backbone.marionette.js"
></script>
...
...
@@ -79,19 +79,5 @@
<
label
for
=
"
toggle-all
"
>
Mark
all
as
complete
<
/label
>
<
ul
id
=
"
todo-list
"
><
/ul
>
</script>
<script>
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'
_setAccount
'
,
'
UA-22728809-1
'
]);
_gaq
.
push
([
'
_trackPageview
'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'
script
'
);
ga
.
type
=
'
text/javascript
'
;
ga
.
async
=
true
;
ga
.
src
=
(
'
https:
'
==
document
.
location
.
protocol
?
'
https://ssl
'
:
'
http://www
'
)
+
'
.google-analytics.com/ga.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
</script>
</body>
</html>
labs/architecture-examples/backbone_marionette/js/lib/underscore.js
deleted
100644 → 0
View file @
b7cc462a
This diff is collapsed.
Click to expand it.
labs/architecture-examples/backbone_marionette_modules/css/
custom
.css
→
labs/architecture-examples/backbone_marionette_modules/css/
app
.css
View file @
62b04cb0
#todoapp
.filter-active
#todo-list
.completed
{
display
:
none
}
#todoapp
.filter-active
#todo-list
.completed
,
#todoapp
.filter-completed
#todo-list
.active
{
display
:
none
display
:
none
;
}
#main
,
#footer
{
display
:
none
;
#main
,
#footer
{
display
:
none
;
}
labs/architecture-examples/backbone_marionette_modules/index.html
View file @
62b04cb0
...
...
@@ -6,7 +6,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<title>
Marionette • TodoMVC
</title>
<link
rel=
"stylesheet"
href=
"../../../assets/base.css"
>
<link
rel=
"stylesheet"
href=
"css/
custom
.css"
>
<link
rel=
"stylesheet"
href=
"css/
app
.css"
>
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
...
...
@@ -47,21 +47,6 @@
<
ul
id
=
"
todo-list
"
><
/ul
>
</script>
<script>
// Google analytics
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'
_setAccount
'
,
'
UA-22728809-1
'
]);
_gaq
.
push
([
'
_trackPageview
'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'
script
'
);
ga
.
type
=
'
text/javascript
'
;
ga
.
async
=
true
;
ga
.
src
=
(
'
https:
'
==
document
.
location
.
protocol
?
'
https://ssl
'
:
'
http://www
'
)
+
'
.google-analytics.com/ga.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
</script>
</head>
<body>
...
...
@@ -83,7 +68,7 @@
<!-- vendor libraries -->
<script
src=
"../../../assets/base.js"
></script>
<script
src=
"../../../assets/jquery.min.js"
></script>
<script
src=
"
js/lib/underscore
.js"
></script>
<script
src=
"
../../../assets/lodash.min
.js"
></script>
<script
src=
"js/lib/backbone.js"
></script>
<script
src=
"js/lib/backbone-localStorage.js"
></script>
<script
src=
"js/lib/backbone.marionette.js"
></script>
...
...
labs/architecture-examples/backbone_marionette_modules/js/lib/underscore.js
deleted
100644 → 0
View file @
b7cc462a
This diff is collapsed.
Click to expand it.
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