This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// load the application once the DOM is ready | |
$(function() { | |
// research this: | |
// Backbone.pubSub = _.extend({}, Backbone.Events); | |
// TEMPLATES | |
var templates = { | |
portfolio: | |
"<% _.each(projects, function(project, index) { %>" + |