UNPKG

grunt-durandal

Version:

Grunt Durandal Builder - Build durandal project using a custom require config and a custom almond

11 lines (10 loc) 329 B
define(["knockout", "plugins/router"], function (router) { return { router: router, activate: function () { return router.map([ { route: "", moduleId: "viewmodels/home", title: "Home", nav: true } ]).buildNavigationModel().activate(); } }; });