Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish DomBind in Polymer. scope #4799

Merged
merged 1 commit into from
Aug 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/elements/dom-bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@

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

Polymer.DomBind = DomBind;

})();

</script>
7 changes: 7 additions & 0 deletions test/unit/dom-bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@

<script>

suite('Polymer.DomBind class', function() {
test('is available', function() {
assert.isDefined(Polymer.DomBind);
assert.equal(typeof Polymer.DomBind, 'function');
});
});

suite('dom-bind touched before upgrade', function() {
test('value binds top-down', function() {
assert.equal(earlyBoundChild.textContent, 'hi!');
Expand Down