Monday, February 13, 2012

What is a view? - Backbone.js Tutorials

What is a view? - Backbone.js Tutorials: "SearchView = Backbone.View.extend({
initialize: function(){
alert("Alerts suck.");
}
});

var search_view = new SearchView({ el: $("#search_container") });"

'via Blog this'