Skip to content

Commit

Permalink
fixes missing renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
MeTaNoV committed Nov 8, 2017
1 parent bb485a1 commit 77c394e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gold-password-input-strength-meter.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
*/
_strengthMeterScore: Number,
/**
* Min strength meter (used on validate).
* Min strength meter score label (used on validate).
*/
minStrengthMeterScoreLabel: String,
},
Expand Down
8 changes: 4 additions & 4 deletions gold-password-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
<gold-password-input-strength-meter
id="strength"
strength-meter-labels="[[strengthMeterLabels]]"
min-strength-meter="[[minStrengthMeter]]">
min-strength-meter-score-label="[[minStrengthMeterScoreLabel]]">
</gold-password-input-strength-meter>
</template>
</div>
Expand Down Expand Up @@ -306,9 +306,9 @@
observer: '_checkedChanged'
},
/**
* Min strength meter (used on validate).
* Min strength meter score label (used on validate).
*/
minStrengthMeter: String,
minStrengthMeterScoreLabel: String,
},

beforeRegister: function() {
Expand All @@ -323,7 +323,7 @@

validate() {
let strengthValidation = true;
if (this.strengthMeter && this.minStrengthMeter) {
if (this.strengthMeter && this.minStrengthMeterScoreLabel) {
strengthValidation = this.shadowRoot.querySelector('gold-password-input-strength-meter').validate();
}
if (strengthValidation && Polymer.PaperInputBehavior[2].validate.bind(this)()) {
Expand Down

0 comments on commit 77c394e

Please sign in to comment.