UNPKG
todomvc
Version:
latest (0.1.1)
0.1.1
0.1.0
> Helping you select an MV\* framework
todomvc
/
examples
/
backbone_marionette_require
/
js
/
routers
/
index.js
13 lines
(11 loc)
•
177 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/*global define */
define
([
'marionette'
],
function
(
Marionette
) {
'use strict'
;
return
Marionette
.
AppRouter
.
extend
({
appRoutes
: {
'*filter'
:
'setFilter'
} }); });