UNPKG

jetfuel-blackbox

Version:

Currently, BlackBox is a boilerplate client-side application framework, built on top of the JetFuel build system and Grunt, Backbone, RequireJS, JetRunner unit test server (Mocha BDD/TDD test framework + PhantomJS + SauceLabs cloud integration), Dust (and Plate Django port) for templating (both client and server-side), Sass, Express dynamic web server, etc. BlackBox is the template used for JetFuel's basic `init` command.

22 lines (15 loc) 383 B
define('config/routing', function() { 'use strict'; return { // Home '': 'home/Landing', // Todos 'todos': 'todos/List', 'todos/:id': 'todos/Detail', // Errors 'error': 'error/Generic', 'error/not-found': 'error/NotFound', // CMS Pages '*path': 'cms/Page' }; });