fix(viewFactory): allow empty view cache

This commit is contained in:
Tobias Bosch
2015-04-17 14:37:57 -07:00
parent abda569b55
commit 02997f473a
5 changed files with 9 additions and 17 deletions

View File

@ -38,7 +38,7 @@ export class IntegrationTestbed {
var compiler = new Compiler(new DefaultStepFactory(parser, shadowDomStrategy), new FakeTemplateLoader(urlResolver, urlData));
if (isBlank(viewCacheCapacity)) {
viewCacheCapacity = 1;
viewCacheCapacity = 0;
}
if (isBlank(urlData)) {
urlData = MapWrapper.create();