Skip to content

Commit 6005435

Browse files
committed
Publish DomBind in Polymer. scope
Fixes #4797
1 parent 72a59f7 commit 6005435

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

lib/elements/dom-bind.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127

128128
customElements.define('dom-bind', DomBind);
129129

130+
Polymer.DomBind = DomBind;
131+
130132
})();
131133

132134
</script>

test/unit/dom-bind.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858

5959
<script>
6060

61+
suite('Polymer.DomBind class', function() {
62+
test('is available', function() {
63+
assert.isDefined(Polymer.DomBind);
64+
assert.equal(typeof Polymer.DomBind, 'function');
65+
});
66+
});
67+
6168
suite('dom-bind touched before upgrade', function() {
6269
test('value binds top-down', function() {
6370
assert.equal(earlyBoundChild.textContent, 'hi!');

0 commit comments

Comments
 (0)