Skip to content

Commit

Permalink
Backbone Marionette cleanup. Closes #284
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 9, 2012
1 parent b7cc462 commit 62b04cb
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 2,171 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
todomvc.com
9 changes: 9 additions & 0 deletions labs/architecture-examples/backbone_marionette/css/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#todoapp.filter-active #todo-list .completed,
#todoapp.filter-completed #todo-list .active {
display: none;
}

#main,
#footer {
display: none;
}
10 changes: 0 additions & 10 deletions labs/architecture-examples/backbone_marionette/css/custom.css

This file was deleted.

18 changes: 2 additions & 16 deletions labs/architecture-examples/backbone_marionette/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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]-->
Expand All @@ -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>
Expand Down Expand Up @@ -79,19 +79,5 @@ <h1>todos</h1>
<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>
Loading

0 comments on commit 62b04cb

Please sign in to comment.