Skip to content

Commit

Permalink
update syntax in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Aug 15, 2013
1 parent 6bd9088 commit fb1d1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/html/bind-object-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
var assert = chai.assert;
document.addEventListener('WebComponentsReady', function() {
var o = document.querySelector('x-bind-obj');
var root = o.webkitShadowRoot;
var root = o.shadowRoot;
f = root.querySelector('x-foo');
assert.equal(f.obj, o.testObj);
function checkXFoo(inXFoo) {
var p = inXFoo.webkitShadowRoot.querySelector('p');
var p = inXFoo.shadowRoot.querySelector('p');
assert.isDefined(inXFoo.obj.foo);
assert.equal(p.innerHTML, 'obj.foo is ' + inXFoo.obj.foo);
}
Expand Down

0 comments on commit fb1d1b3

Please sign in to comment.