Skip to content

Instantly share code, notes, and snippets.

View MichaelJosephKramer's full-sized avatar

Michael Joseph Kramer MichaelJosephKramer

View GitHub Profile

Keybase proof

I hereby claim:

  • I am michaeljosephkramer on github.
  • I am michaelkramer (https://keybase.io/michaelkramer) on keybase.
  • I have a public key whose fingerprint is E08A 5F7D F3EC BAA4 AC13 C35B B17D 47ED 3169 F15C

To claim this, I am signing this object:

# Test setup, with jasmine-given
Given -> spyOn(Backbone.Model.prototype.fetch, 'call').andReturn
done: (callback) -> callback()
# Source, fetch override in model
fetch: (options) ->
Backbone.Model.prototype.fetch.call(@, options).done @callback