Skip to content

Commit

Permalink
Fix the case of the upper case M
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmalonenz committed Jun 8, 2016
1 parent 56bc11a commit 151a284
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/amd/text-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-
if (this.multiline) {
this.input = this.element.querySelector('textarea');

this.minSize = Math.Max(this._calcCurrentHeight(), 52);
this.minSize = Math.max(this._calcCurrentHeight(), 52);

this.input.addEventListener('input', this.boundResize);
this.input.addEventListener('focus', this.boundExpand);
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ export class TextWidget {
if (this.multiline) {
this.input = this.element.querySelector('textarea');

this.minSize = Math.Max(this._calcCurrentHeight(), 52);
this.minSize = Math.max(this._calcCurrentHeight(), 52);

this.input.addEventListener('input', this.boundResize);
this.input.addEventListener('focus', this.boundExpand);
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/text-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var ANIMATION_LENGTH = 200;var TextWidget = exports.TextWidget = (_dec = (0, _au
if (this.multiline) {
this.input = this.element.querySelector('textarea');

this.minSize = Math.Max(this._calcCurrentHeight(), 52);
this.minSize = Math.max(this._calcCurrentHeight(), 52);

this.input.addEventListener('input', this.boundResize);
this.input.addEventListener('focus', this.boundExpand);
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/text-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export let TextWidget = (_dec = customElement('text-widget'), _dec2 = bindable({
if (this.multiline) {
this.input = this.element.querySelector('textarea');

this.minSize = Math.Max(this._calcCurrentHeight(), 52);
this.minSize = Math.max(this._calcCurrentHeight(), 52);

this.input.addEventListener('input', this.boundResize);
this.input.addEventListener('focus', this.boundExpand);
Expand Down
4 changes: 3 additions & 1 deletion dist/system/text-widget.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

System.register(['aurelia-templating', 'aurelia-binding', 'aurelia-dependency-injection', 'aurelia-animator-velocity'], function (_export, _context) {
"use strict";

var customElement, bindable, bindingMode, inject, VelocityAnimator, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, ANIMATION_LENGTH, TextWidget;

function _classCallCheck(instance, Constructor) {
Expand Down Expand Up @@ -58,7 +60,7 @@ System.register(['aurelia-templating', 'aurelia-binding', 'aurelia-dependency-in
if (this.multiline) {
this.input = this.element.querySelector('textarea');

this.minSize = Math.Max(this._calcCurrentHeight(), 52);
this.minSize = Math.max(this._calcCurrentHeight(), 52);

this.input.addEventListener('input', this.boundResize);
this.input.addEventListener('focus', this.boundExpand);
Expand Down
2 changes: 1 addition & 1 deletion src/text-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class TextWidget {
if (this.multiline) {
this.input = this.element.querySelector('textarea');

this.minSize = Math.Max(this._calcCurrentHeight(), 52);
this.minSize = Math.max(this._calcCurrentHeight(), 52);

this.input.addEventListener('input', this.boundResize);
this.input.addEventListener('focus', this.boundExpand);
Expand Down

0 comments on commit 151a284

Please sign in to comment.