refactor(facade): inline StringWrapper (#12051)
This commit is contained in:
@ -7,8 +7,6 @@
|
||||
*/
|
||||
|
||||
import {Component, Directive, ElementRef, Injectable, Renderer} from '@angular/core';
|
||||
import {StringWrapper} from '@angular/core/src/facade/lang';
|
||||
|
||||
|
||||
// A service available to the Injector, used by the HelloCmp component.
|
||||
@Injectable()
|
||||
@ -57,6 +55,6 @@ export class HelloCmp {
|
||||
changeGreeting(): void { this.greeting = 'howdy'; }
|
||||
|
||||
onKeyDown(event: any /** TODO #9100 */): void {
|
||||
this.lastKey = StringWrapper.fromCharCode(event.keyCode);
|
||||
this.lastKey = String.fromCharCode(event.keyCode);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user