Skip to content

Instantly share code, notes, and snippets.

@russweas
Created June 28, 2015 22:40
Show Gist options
  • Save russweas/6acf1a2207724cded428 to your computer and use it in GitHub Desktop.
Save russweas/6acf1a2207724cded428 to your computer and use it in GitHub Desktop.
methods: {
call: function(view, name) {
if(this.viewData[view].ready == true) {
this.viewData[view].model[name]();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment