refactor(facade): inline StringWrapper (#12051)

This commit is contained in:
Alex Eagle
2016-10-06 15:10:27 -07:00
committed by Tobias Bosch
parent bb35fcb562
commit 8c975ed156
34 changed files with 105 additions and 288 deletions

View File

@ -6,8 +6,6 @@
* found in the LICENSE file at https://angular.io/license
*/
import {StringWrapper} from '../src/facade/lang';
import {OpaqueToken} from './di';
@ -38,7 +36,7 @@ export const APP_ID_RANDOM_PROVIDER = {
};
function _randomChar(): string {
return StringWrapper.fromCharCode(97 + Math.floor(Math.random() * 25));
return String.fromCharCode(97 + Math.floor(Math.random() * 25));
}
/**