Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

exposed exception constants via core.*

  • Loading branch information...
commit 687e51236008a37d1f0070e5d36b28f41bae2c4d 1 parent fc1c8dd
@tmpvar authored jos3000 committed
Showing with 10 additions and 10 deletions.
  1. +10 −10 lib/level1/core.js
View
20 lib/level1/core.js
@@ -59,16 +59,16 @@ core.DOMException.prototype = {
core.DOMException.prototype.__proto__ = Error.prototype;
// ExceptionCode
-var INDEX_SIZE_ERR = 1;
-var DOMSTRING_SIZE_ERR = 2;
-var HIERARCHY_REQUEST_ERR = 3;
-var WRONG_DOCUMENT_ERR = 4;
-var INVALID_CHARACTER_ERR = 5;
-var NO_DATA_ALLOWED_ERR = 6;
-var NO_MODIFICATION_ALLOWED_ERR = 7;
-var NOT_FOUND_ERR = 8;
-var NOT_SUPPORTED_ERR = 9;
-var INUSE_ATTRIBUTE_ERR = 10;
+var INDEX_SIZE_ERR = core.INDEX_SIZE_ERR = 1;
+var DOMSTRING_SIZE_ERR = core.DOMSTRING_SIZE_ERR = 2;
+var HIERARCHY_REQUEST_ERR = core.HIERARCHY_REQUEST_ERR = 3;
+var WRONG_DOCUMENT_ERR = core.WRONG_DOCUMENT_ERR = 4;
+var INVALID_CHARACTER_ERR = core.INVALID_CHARACTER_ERR = 5;
+var NO_DATA_ALLOWED_ERR = core.NO_DATA_ALLOWED_ERR = 6;
+var NO_MODIFICATION_ALLOWED_ERR = core.NO_MODIFICATION_ALLOWED_ERR = 7;
+var NOT_FOUND_ERR = core.NOT_FOUND_ERR = 8;
+var NOT_SUPPORTED_ERR = core.NOT_SUPPORTED_ERR = 9;
+var INUSE_ATTRIBUTE_ERR = core.INUSE_ATTRIBUTE_ERR = 10;
core.NodeList = function(document, element, tagName) {
this._document = document;
Please sign in to comment.
Something went wrong with that request. Please try again.