Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

thanks, osx

  • Loading branch information...
commit 50066ee262578bc63208459f146d5c763b54a778 1 parent 328cf6a
Jarrod Overson authored September 04, 2012
11  labs/architecture-examples/backbone_marionette/js/Router.js
... ...
@@ -0,0 +1,11 @@
  1
+
  2
+var Router = Backbone.Marionette.AppRouter.extend({
  3
+  appRoutes : {
  4
+    '*filter': 'setFilter'
  5
+  },
  6
+  controller : {
  7
+    setFilter : function(param) {
  8
+      app.vent.trigger('todoList:filter', param.trim() || '');
  9
+    }
  10
+  }
  11
+});

0 notes on commit 50066ee

Please sign in to comment.
Something went wrong with that request. Please try again.