Created
October 6, 2016 18:01
-
-
Save daniellizik-sc/0217f120fd3639ff0db17815b906c0ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meld.around(__sco, 'type', function(methodCall) { | |
var arg = methodCall.args[0]; | |
var res = methodCall.proceed(); | |
var stack = new Error().stack.replace('Error', ''); | |
if (stack.indexOf('__sco.osr.show') > -1) | |
console.log(stack); | |
return res; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment