Skip to content

Commit

Permalink
remove __proto__ accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjinyun committed May 9, 2017
1 parent ffd8cac commit 0be2ae9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 26 deletions.
4 changes: 0 additions & 4 deletions dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ function copy(src,dest){
*/
function _extends(Class,Super){
var pt = Class.prototype;
if(Object.create){
var ppt = Object.create(Super.prototype)
pt.__proto__ = ppt;
}
if(!(pt instanceof Super)){
function t(){};
t.prototype = Super.prototype;
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "xmldom",
"version": "0.1.27",
"description": "A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).",
"keywords": ["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],
"author": "jindw <jindw@xidea.org> (http://www.xidea.org)",
"homepage": "https://github.com/jindw/xmldom",
"repository": {"type": "git","url": "git://github.com/jindw/xmldom.git"},
"main": "./dom-parser.js",
"scripts" : { "test": "proof platform win32 && proof test */*/*.t.js || t/test" },
"engines": {"node": ">=0.1"},
"dependencies": {},
"devDependencies": { "proof": "0.0.28" },
"maintainers": [{"name": "jindw","email": "jindw@xidea.org","url": "http://www.xidea.org"}],
"contributors": [
{"name" : "Yaron Naveh","email" : "yaronn01@gmail.com","web" : "http://webservices20.blogspot.com/"},
{"name" : "Harutyun Amirjanyan","email" : "amirjanyan@gmail.com","web" : "https://github.com/nightwing"},
{"name" : "Alan Gutierrez","email" : "alan@prettyrobots.com","web" : "http://www.prettyrobots.com/"}
],
"bugs": {"email": "jindw@xidea.org","url": "http://github.com/jindw/xmldom/issues"},
"license": "(LGPL-2.0 or MIT)"
}
{
"name": "xmldom-alpha",
"version": "0.1.28",
"description": "A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).",
"keywords": ["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],
"author": "jindw <jindw@xidea.org> (http://www.xidea.org)",
"homepage": "https://github.com/jindw/xmldom",
"repository": {"type": "git","url": "git://github.com/jindw/xmldom.git"},
"main": "./dom-parser.js",
"scripts" : { "test": "proof platform win32 && proof test */*/*.t.js || t/test" },
"engines": {"node": ">=0.1"},
"dependencies": {},
"devDependencies": { "proof": "0.0.28" },
"maintainers": [{"name": "jindw","email": "jindw@xidea.org","url": "http://www.xidea.org"}],
"contributors": [
{"name" : "Yaron Naveh","email" : "yaronn01@gmail.com","web" : "http://webservices20.blogspot.com/"},
{"name" : "Harutyun Amirjanyan","email" : "amirjanyan@gmail.com","web" : "https://github.com/nightwing"},
{"name" : "Alan Gutierrez","email" : "alan@prettyrobots.com","web" : "http://www.prettyrobots.com/"}
],
"bugs": {"email": "jindw@xidea.org","url": "http://github.com/jindw/xmldom/issues"},
"license": "(LGPL-2.0 or MIT)"
}

0 comments on commit 0be2ae9

Please sign in to comment.