Skip to content

Instantly share code, notes, and snippets.

@blake41
Last active November 18, 2015 22:05
Show Gist options
  • Save blake41/f248998cd8cb2e78416b to your computer and use it in GitHub Desktop.
Save blake41/f248998cd8cb2e78416b to your computer and use it in GitHub Desktop.
var app = app || {};
$(function() {
var myModel = new app.MyModel();
var libraryView = new app.LibraryView();
$( '#someIDinmyindex.html' ).append(libraryView.el);
});
var app = app || {};
app.MyModel = Backbone.Model.exend({})
var app = app || {};
app.MyView = Backbone.Model.extend({
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment