Skip to content

Instantly share code, notes, and snippets.

@sethmcl
Created January 27, 2014 01:49
Show Gist options
  • Select an option

  • Save sethmcl/8642102 to your computer and use it in GitHub Desktop.

Select an option

Save sethmcl/8642102 to your computer and use it in GitHub Desktop.
// BaseView.js
addChildView: function (view) {
view.parentView = this;
this.childViews.push(view);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment