diff --git a/src/raven.js b/src/raven.js index 9ce2e61a090c..0c991fa55d5c 100644 --- a/src/raven.js +++ b/src/raven.js @@ -218,6 +218,7 @@ var Raven = { wrapped[property] = func[property]; } } + wrapped.prototype = func.prototype; // Signal that this function has been wrapped already // for both debugging and to prevent it to being wrapped twice