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>> {
|
function _injectorBindings(appComponentType): List<Type | Binding | List<any>> {
|
||||||
var bestChangeDetection: Type = DynamicChangeDetection;
|
var bestChangeDetection: Type = DynamicChangeDetection;
|
||||||
if (PreGeneratedChangeDetection.isSupported()) {
|
// Re-enable once all e2e tests pass
|
||||||
bestChangeDetection = PreGeneratedChangeDetection;
|
// if (PreGeneratedChangeDetection.isSupported()) {
|
||||||
} else if (JitChangeDetection.isSupported()) {
|
// bestChangeDetection = PreGeneratedChangeDetection;
|
||||||
bestChangeDetection = JitChangeDetection;
|
//} else if (JitChangeDetection.isSupported()) {
|
||||||
}
|
// bestChangeDetection = JitChangeDetection;
|
||||||
|
//}
|
||||||
return [
|
return [
|
||||||
bind(DOCUMENT_TOKEN)
|
bind(DOCUMENT_TOKEN)
|
||||||
.toValue(DOM.defaultDoc()),
|
.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() {
|
main() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue