Class: nt.Views.Recipe

nt.Views.Recipe

new nt.Views.Recipe()

Recipe View
Source:

Extends

  • Backbone.View

Methods

closeRecipes()

Hide recipe view and show search view
Source:

getRecipes()

Get Edamam recipes
Source:

initialize()

Setup `this` context and DOM references
Source:

openRecipes()

Hide search view and show recipe view
Source:

recipeError()

AJAX error callback
Source:

recipeSuccess()

AJAX success callback
Source:

render()

Render results
Source: