Skip to content

Commit

Permalink
fix(bootstrap): temporary disable jit change detection because of a b…
Browse files Browse the repository at this point in the history
…ug in handling pure functions
  • Loading branch information
vsavkin committed Jun 13, 2015
1 parent 552d1ed commit 9908def
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions modules/angular2/src/core/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@vicb

vicb Jun 14, 2015

Contributor

create a GH issue ?

// if (PreGeneratedChangeDetection.isSupported()) {
// bestChangeDetection = PreGeneratedChangeDetection;
//} else if (JitChangeDetection.isSupported()) {
// bestChangeDetection = JitChangeDetection;
//}
return [
bind(DOCUMENT_TOKEN)
.toValue(DOM.defaultDoc()),
Expand Down
Original file line number Diff line number Diff line change
@@ -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() {

Expand Down

0 comments on commit 9908def

Please sign in to comment.