From: dhrname Date: Wed, 2 Apr 2014 14:17:27 +0000 (+0900) Subject: Elementノードに、_capterプロパティを追加するよう、createElementNSメソッドを修正 X-Git-Tag: v16beta~85 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=161087da675ba7732888f7d25ad2e85a5814bc33;p=sie%2Fsie.git Elementノードに、_capterプロパティを追加するよう、createElementNSメソッドを修正 --- diff --git a/org/w3c/core.js b/org/w3c/core.js index 5086720..b14c7c2 100644 --- a/org/w3c/core.js +++ b/org/w3c/core.js @@ -611,8 +611,9 @@ base("$document").mix( { } ele = this.documentElement.up("$1").mix({ childNodes: [], - attributes: (new NamedNodeMap()), //属性を収納 - ownerDocument: this + attributes: (new NamedNodeMap()), //属性を収納 + ownerDocument: this, + _capter: [] //イベント処理で使う }); ele.namespaceURI = namespaceURI; ele.nodeName = ele.tagName = qualifiedName;