feat: remove MapWrapper.clear().

It's the same in Dart and JavaScript.
This commit is contained in:
Martin Probst
2015-06-18 09:59:51 -07:00
parent dfd30910aa
commit 941362014b
6 changed files with 6 additions and 10 deletions

View File

@ -60,8 +60,8 @@ export function shimCssForComponent(cssText: string, componentId: string): strin
// Reset the caches - used for tests only
export function resetShadowDomCache() {
MapWrapper.clear(_componentUIDs);
_componentUIDs.clear();
_nextComponentUID = 0;
MapWrapper.clear(_sharedStyleTexts);
_sharedStyleTexts.clear();
_lastInsertedStyleEl = null;
}