Skip to content

Instantly share code, notes, and snippets.

@sanderpick
Created May 15, 2013 04:29
Show Gist options
  • Save sanderpick/5581648 to your computer and use it in GitHub Desktop.
Save sanderpick/5581648 to your computer and use it in GitHub Desktop.
rando
this.occSearchView = new OccSearchView({parentView: this, listEl: 'table#mytable'}).render();
if (this.parentView.options.listEl)
this.$el.appendTo(this.parentView.$(listEl));
else
this.$el.appendTo(this.parentView.$el);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment