Merge pull request #12 from frankiefu/master

update for names changes in polyfill
This commit is contained in:
Steve Orvell
2012-10-15 12:47:00 -07:00

View File

@@ -67,7 +67,7 @@ license that can be found in the LICENSE file.
var establishNodeReferences = function(inRoot) {
this.$ = this.$ || {};
// search the LOCAL tree
var nodes = ShadowDom.localQueryAll(inRoot, "[id]");
var nodes = ShadowDOM.localQueryAll(inRoot, "[id]");
Array.prototype.forEach.call(nodes, function(n) {
this.$[n.id] = deref(n);
}, this);
@@ -162,7 +162,7 @@ license that can be found in the LICENSE file.
var inPublicTree = function(inNodes, inNode) {
return nodeIterator(inNodes, function(n) {
if (inNode == n || inPublicTree(n.lightDom, inNode)) {
if (inNode == n || inPublicTree(n.lightDOM, inNode)) {
return true;
}
});