Class: nt.Router

nt.Router

new nt.Router()

Nutrition Tracker Router
Source:

Extends

  • Backbone.Router

Members

(static) routes

Routes for this app
Properties:
Name Type Description
routes object
Source:

Methods

(static) goto()

Update url and call route function
Source:

(static) search()

Update search box with query, run search, then hide autocomplete
Source:

(static) start()

Display start view
Source:

(static) startSearch()

Display empty search view
Source:

(static) tracker()

Set tracker view options based on url parameters
Source: