List routes of Backbone.Router.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
tasks
.gitignore
README.md
grunt.js
package.json
screenshot.png

README.md

grunt-backbone-routes

List routes of Backbone.Router.

This task searches files specified via backboneRoutes.files and output routes of each Backbone.Router.

Sample gruntfile

module.exports = function(grunt) {
  grunt.initConfig({
    backboneRoutes: {
      files: "example/*-router.js"
    }
  });
  grunt.loadNpmTasks('grunt-backbone-routes');

screenshot