Skip to content

Instantly share code, notes, and snippets.

@briandonahue
Created February 22, 2012 20:31
Show Gist options
  • Save briandonahue/1887036 to your computer and use it in GitHub Desktop.
Save briandonahue/1887036 to your computer and use it in GitHub Desktop.
SearchView = Backbone.View.extend({
el: "#search",
initialize: function() {
return console.log(this);
}
})
view = new SearchView() // fails TypeError: undefined is not a function
// looks like I need to look at unminified backbone source to find what's up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment