Skip to content

Commit b9e6859

Browse files
author
Steven Orvell
committed
Updates the patch-don experiment to work with recent changes.
1 parent 9915627 commit b9e6859

File tree

4 files changed

+363
-54
lines changed

4 files changed

+363
-54
lines changed

src/lib/dom-api.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@
140140

141141
var CONTENT = DomApi.CONTENT = 'content';
142142

143-
var dom = DomApi.factory = function(node, patch) {
143+
var dom = DomApi.factory = function(node) {
144144
node = node || document;
145145
if (!node.__domApi) {
146-
node.__domApi = new DomApi(node, patch);
146+
node.__domApi = new DomApi.ctor(node);
147147
}
148148
return node.__domApi;
149149
};

0 commit comments

Comments
 (0)