Skip to content

Instantly share code, notes, and snippets.

@mimshwright
Created April 14, 2015 18:25
Show Gist options
  • Select an option

  • Save mimshwright/8418558857bbb36c3bd4 to your computer and use it in GitHub Desktop.

Select an option

Save mimshwright/8418558857bbb36c3bd4 to your computer and use it in GitHub Desktop.
Snippet of functional JS
// updateView()
// render all projects to projectList
projectsData
.filter(isProjectActive)
.filter(containsSearchTerm)
.sort(byDate)
.map(renderProject)
.map(appendProjectToListView);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment