Uh oh!
There was an error while loading. Please reload this page.
component: MdInput - #161
Conversation
2b58ce3 to
de51aedCompare| const defaultValue = target[key]; | ||
| // Use a fallback if Symbol isn't available. | ||
| const localKey = isPresent(Symbol) ? Symbol(key) : `@@$_${key}`; |
There was a problem hiding this comment.
adding special characters such as @@ makes the object into slow object. Better to use __private_symbol_ or something like that.
There was a problem hiding this comment.
Done. Firefox used to support @@ as a prefix for symbols, thus my usage of this.
62e2d0a to
7718712Compareb132570 to
19810beCompare| export class MdInput implements ControlValueAccessor { | ||
| private _empty: boolean = true; | ||
| private _focused: boolean = false; | ||
| private _onTouched: () => void = () => {}; |
There was a problem hiding this comment.
Does ng2 provide a noop( ) function like ng1 ?
a5fa97a to
a384a3aCompare| ## Type | ||
| At the time of writing this README, the `[type]` attribute is copied to the actual `<input>` element in the `<md-input>`. Therefore, the valid types and behavior of those are the ones supported by your browser. | ||
| color: md-color($md-primary); | ||
| } | ||
| md-card { |
jelbourn
commented
Mar 24, 2016
Done w/ second pass |
420e592 to
e218b12Comparehansl
commented
Mar 25, 2016
PTAL. |
35789d3 to
c87cdb0Compare| [class.md-accent]="dividerColor == 'accent'"></span> | ||
| </div> | ||
| <div *ngIf="hintLabel != ''" class="md-hint">{{hintLabel}}</div> |
There was a problem hiding this comment.
No actions now, but my gut is worried about each input having ~25 bindings. Something to explore later.
(I could just be clinging to Angular 1 performance concerns, though)
There was a problem hiding this comment.
Noted. There should be a greater task of performance checks AND visual checking before full release. In beta maybe.
33eb683 to
3bc1606Comparejelbourn
commented
Mar 31, 2016
LGTM |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.