Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merging Aria's DOMException changes

  • Loading branch information...
commit c25acca84204a568f1a44d90c413d94847940af1 2 parents 1ddb8a5 + 6cebfa6
@tmpvar authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/jsdom/level1/core.js
View
5 lib/jsdom/level1/core.js
@@ -48,7 +48,7 @@ var core = {
};
var sys = require("sys");
-core.DOMException = function(code, msg) {
+core.DOMException = function(code) {
this._code = code;
Error.call(this, messages[code]);
this.message = messages[code];
@@ -56,8 +56,7 @@ core.DOMException = function(code, msg) {
};
core.DOMException.prototype = {
- get code() { return this._code;},
- get msg() { return this._msg; }
+ get code() { return this._code;}
};
core.DOMException.prototype.__proto__ = Error.prototype;
Please sign in to comment.
Something went wrong with that request. Please try again.