Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Fix caching in web platform #1304

Closed
wants to merge 2 commits into from
Closed

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Aug 3, 2014

The first commit fix the caching in fromHtml(): the viewFactory instances were stored and retrieved under a different key. This made the cache inoperative for cases where shim is needed.

The second commit fix the caching in fromUrl(): the viewFactory instances were stored under a key that do not depend on the selector name. This would have resulted in getting a wrong shim when:

  • two component share a same templateUrl,
  • a component has multiple different selectors .

@vicb
Copy link
Contributor Author

vicb commented Aug 11, 2014

Adressed in #1315

@vicb vicb closed this Aug 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants