I hereby claim:
- I am brennanroberts on github.
- I am brennanrobertssg (https://keybase.io/brennanrobertssg) on keybase.
- I have a public key ASD-qyUuaj0hWZg656QsvhNPAqMfVt5JfCW16azq7Pk82go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
setTimeout(function() { | |
require('./some-test'); | |
run(); | |
}, 100); |
console.log('loaded "dep"'); |
Backbone.Collection.prototype.update = function(col_in){ | |
var that = this, | |
ids = []; | |
var cur_ids = that.pluck('id'), | |
new_ids = _(col_in).pluck('id'), | |
to_remove = _(cur_ids).difference(new_ids); | |
this.remove(to_remove); |