angular-docs-cn/modules/angular2/test/core
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
..
change_detection feat(change_detection): allow all legal programs in the dev mode 2016-01-26 21:01:19 -08:00
debug feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
di feat(core): speed up view creation via code gen for view factories. 2016-01-05 08:56:46 -08:00
dom refactor(tests): rename beforeEachBindings -> beforeEachProviders 2015-12-02 14:09:13 -08:00
facade refactor(async): use ultralight Observable 2015-12-02 16:02:34 -08:00
linker fix(core): always remove DOM listeners and stream subscriptions 2016-01-26 07:37:31 -08:00
metadata cleanup(tooling): move tooling to the browser platform and rename profile into instrumentation 2015-11-24 19:29:52 +00:00
profile refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
reflection docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
testability feat(testability): Expose function frameworkStabilizers 2016-01-11 23:10:51 +00:00
util docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
zone chore(test): remove deprecated angular2/test and angular2/test_lib 2015-12-02 11:37:29 -08:00
application_ref_spec.ts feat(core/application_ref): Allow asyncronous app initializers. 2016-01-21 01:45:24 +00:00
directive_lifecycle_integration_spec.ts refactor(lifecycle): prefix lifecycle methods with "ng" 2015-11-30 16:40:50 -08:00
forward_ref_integration_spec.dart feat: allow for forward references in injection 2015-05-15 21:12:57 -07:00
forward_ref_integration_spec.ts feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
spies.dart refactor(test): Remove unnecessary `noSuchMethod` 2016-01-15 22:53:09 +00:00
spies.ts feat(core): speed up view creation via code gen for view factories. 2016-01-05 08:56:46 -08:00