angular-cn/modules/angular2/test/core/change_detection
vsavkin 42231f5719 feat(change_detection): allow all legal programs in the dev mode
BEFORE:

The following would throw in the dev mode because `f` would return a new array when called by checkNoChanges.

@Component({
  template: `
    {{f()}}
  `
})
class A {
  f() { return [1]; }
}

AFTER:

The checkNoChanges function compares only primitives types for equality, and deeply compares iterables. Other objects cannot cause checkNoChanges to throw. This means that the dev mode would never fail given a legal program, but may allow some illegal programs.
2016-01-26 21:01:19 -08:00
..
differs refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
generated chore: move core modules into core directory 2015-08-25 15:33:22 -07:00
generator refactor(compiler): make all commands const 2015-11-09 10:59:08 -08:00
parser feat(core): speed up view creation via code gen for view factories. 2016-01-05 08:56:46 -08:00
change_detector_config.ts fix(ChangeDetection): chain expressions evaluate to the last expression (codegen) 2016-01-12 17:10:42 +00:00
change_detector_ref_spec.ts feat(core): speed up view creation via code gen for view factories. 2016-01-05 08:56:46 -08:00
change_detector_spec.ts feat(change_detection): allow all legal programs in the dev mode 2016-01-26 21:01:19 -08:00
change_detector_spec_util.dart refactor(dart): Format Dart code 2015-10-20 17:39:37 +00:00
change_detector_spec_util.ts chore: move core modules into core directory 2015-08-25 15:33:22 -07:00
change_detector_util_spec.ts feat(change_detection): allow all legal programs in the dev mode 2016-01-26 21:01:19 -08:00
coalesce_spec.ts refactor(lifecycle): prefix lifecycle methods with "ng" 2015-11-30 16:40:50 -08:00
iterable.dart chore: move core modules into core directory 2015-08-25 15:33:22 -07:00
iterable.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
proto_record_builder_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
proto_record_spec.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
util.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00