Skip to content

Commit

Permalink
Updates the patch-don experiment to work with recent changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Dec 11, 2015
1 parent 9915627 commit b9e6859
Show file tree
Hide file tree
Showing 4 changed files with 363 additions and 54 deletions.
4 changes: 2 additions & 2 deletions src/lib/dom-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@

var CONTENT = DomApi.CONTENT = 'content';

var dom = DomApi.factory = function(node, patch) {
var dom = DomApi.factory = function(node) {
node = node || document;
if (!node.__domApi) {
node.__domApi = new DomApi(node, patch);
node.__domApi = new DomApi.ctor(node);
}
return node.__domApi;
};
Expand Down
Loading

0 comments on commit b9e6859

Please sign in to comment.