Skip to content

Instantly share code, notes, and snippets.

@djcas9
Created July 22, 2013 05:08
Show Gist options
  • Save djcas9/6051401 to your computer and use it in GitHub Desktop.
Save djcas9/6051401 to your computer and use it in GitHub Desktop.
var Blah = {
hello: function(items) {
var self = this;
_.each(items, function() {
self.items.push(item.json);
});
},
something: function() {
$(window).resize(function() {
_.each(items, function(i) {
i.resize();
});
});
},
init: function(items) {
var self = this;
self.hello(items);
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment