Commit 62b04cb0 authored by Sindre Sorhus's avatar Sindre Sorhus

Backbone Marionette cleanup. Closes #284

parent b7cc462a
todomvc.com
\ No newline at end of file
#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;
}
......@@ -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>
#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;
}
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment