diff --git a/webcam.js b/webcam.js index d941ea0..d52e6eb 100644 --- a/webcam.js +++ b/webcam.js @@ -27,7 +27,7 @@ function WebcamError() { this.message = temp.message; } -IntermediateInheritor = function() {}; +var IntermediateInheritor = function() {}; IntermediateInheritor.prototype = Error.prototype; FlashError.prototype = new IntermediateInheritor();