Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 484 Bytes

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