Skip to content

Instantly share code, notes, and snippets.

@reid
Forked from anonymous/gist:604596
Created September 30, 2010 14:05
Show Gist options
  • Save reid/604617 to your computer and use it in GitHub Desktop.
Save reid/604617 to your computer and use it in GitHub Desktop.
var baseController = {};
baseController.user = {
render: function(u) {}
};
baseController.userList = {
render: function(ul){
ul.forEach(function(v,i,a){
baseController.user.render(v);
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment