Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addCallStackPrint = ->
- _(arguments).map (clazz)->
- _(_.functions clazz.prototype).map (method)->
- originalMethod = clazz.prototype[method]
- clazz.prototype[method] = ->
- log "#{clazz.name}##{method}"
- originalMethod.call arguments
Add Comment
Please, Sign In to add comment