fix(bootstrap): temporary disable jit change detection because of a bug in handling pure functions
This commit is contained in:
parent
552d1ed61b
commit
9908def857
|
@ -69,11 +69,12 @@ var _rootBindings = [bind(Reflector).toValue(reflector), TestabilityRegistry];
|
|||
|
||||
function _injectorBindings(appComponentType): List<Type | Binding | List<any>> {
|
||||
var bestChangeDetection: Type = DynamicChangeDetection;
|
||||
if (PreGeneratedChangeDetection.isSupported()) {
|
||||
bestChangeDetection = PreGeneratedChangeDetection;
|
||||
} else if (JitChangeDetection.isSupported()) {
|
||||
bestChangeDetection = JitChangeDetection;
|
||||
}
|
||||
// Re-enable once all e2e tests pass
|
||||
// if (PreGeneratedChangeDetection.isSupported()) {
|
||||
// bestChangeDetection = PreGeneratedChangeDetection;
|
||||
//} else if (JitChangeDetection.isSupported()) {
|
||||
// bestChangeDetection = JitChangeDetection;
|
||||
//}
|
||||
return [
|
||||
bind(DOCUMENT_TOKEN)
|
||||
.toValue(DOM.defaultDoc()),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library examples.e2e_test.hello_world.template_driven_forms_spec;
|
||||
library examples.e2e_test.hello_world.model_driven_forms_spec;
|
||||
|
||||
main() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue