Commit c5b1781e authored by Pascal Hartig's avatar Pascal Hartig

Backbone: Updated to 1.0

parent b542c361
......@@ -2,7 +2,7 @@
"name": "todomvc-backbone",
"version": "0.0.0",
"dependencies": {
"backbone": "~0.9.10",
"backbone": "~1.0.0",
"underscore": "~1.4.4",
"jquery": "~1.9.1",
"todomvc-common": "~0.1.0",
......
......@@ -4,4 +4,20 @@
if (location.hostname === 'todomvc.com') {
var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function appendSourceLink() {
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + location.pathname;
sourceLink.appendChild(document.createTextNode('Check out the source'));
paragraph.appendChild(sourceLink);
footer.appendChild(paragraph);
}
}
appendSourceLink();
})();
......@@ -13,7 +13,7 @@ var app = app || {};
setFilter: function (param) {
// Set the current filter to be used
app.TodoFilter = param.trim() || '';
app.TodoFilter = param || '';
// Trigger a collection filter event, causing hiding/unhiding
// of Todo view items
......
......@@ -6,6 +6,10 @@
- Flight
- DeftJS + ExtJS
- Aria Templates
- Updates since 1.1:
- Backbone 1.0
- The GWT example implemented routing
## 1.1 - 2013-02-14
......
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