fix(bootstrap): temporary disable jit change detection because of a bug in handling pure functions

This commit is contained in:
vsavkin 2015-06-13 15:26:59 -07:00
parent 552d1ed61b
commit 9908def857
2 changed files with 7 additions and 6 deletions

View File

@ -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()),

View File

@ -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() {