refactor: remove keys()
and values()
from MapWrapper
This commit is contained in:
@ -6,8 +6,6 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {MapWrapper} from '../../src/facade/collection';
|
||||
|
||||
const SVG_PREFIX = ':svg:';
|
||||
|
||||
// Element | Node interfaces
|
||||
@ -109,8 +107,9 @@ export function extractSchema(): Map<string, string[]> {
|
||||
function assertNoMissingTags(descMap: Map<string, string[]>): void {
|
||||
const extractedTags: string[] = [];
|
||||
|
||||
MapWrapper.keys(descMap).forEach(
|
||||
(key: string) => { extractedTags.push(...key.split('|')[0].split('^')[0].split(',')); });
|
||||
Array.from(descMap.keys()).forEach((key: string) => {
|
||||
extractedTags.push(...key.split('|')[0].split('^')[0].split(','));
|
||||
});
|
||||
|
||||
const missingTags = ALL_HTML_TAGS.split(',').filter(tag => extractedTags.indexOf(tag) == -1);
|
||||
|
||||
|
Reference in New Issue
Block a user