摘要: /*global Backbone */var app = app || {};(function () { 'use strict'; // Todo Router // ---------- var Workspace = Backbone.Router.extend({ routes: { '*filter': 'setFilter' }, setFilter: function (param) { // Set the current filter to be used app.TodoFilter = param || ' 阅读全文
posted @ 2013-06-02 13:32 kyiku 阅读(133) 评论(0) 推荐(0) 编辑