Skip to content

Commit

Permalink
fix demo, tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed May 28, 2015
1 parent bb6221d commit e4e08a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h4>Character counter</h4>
<div class="vertical-section">
<paper-input label="label" char-counter></paper-input>

<paper-input label="at most 10 letters" char-counter auto-validate pattern="[a-zA-Z]" maxlength="10" error-message="letters only!"></paper-input>
<paper-input label="at most 10 letters" char-counter auto-validate pattern="[a-zA-Z]*" maxlength="10" error-message="letters only!"></paper-input>

<paper-textarea label="textarea" char-counter></paper-textarea>

Expand Down
2 changes: 1 addition & 1 deletion test/paper-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
var input = fixture('placeholder');
assert.equal(input.inputElement.placeholder, input.placeholder, 'inputElement.placeholder equals input.placeholder');
assert.equal(input.noLabelFloat, false);
var floatingLabel = input.querySelector('.label-is-floating');
var floatingLabel = Polymer.dom(Polymer.dom(input.root).querySelector('paper-input-container').root).querySelector('.label-is-floating');
assert.ok(floatingLabel);
});

Expand Down

0 comments on commit e4e08a4

Please sign in to comment.