Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:11
What would you like to do?
Single Page App - Using Sammy to load products data
this.get('#/products', function (context) {
var products = context.items;''); // clear out the $element in this case '#content'
context.render('templates/productsList.html', products)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment