angular-cn/modules/angular2/test
Victor Berchet 8302afffb4 refactor(LifecycleEvent): remove LifecycleEvent
fixes #3924

BREAKING CHANGE

The `lifecycle` configuration for directive has been dropped.

Before

    // Dart
    @Component({lifecycle: const [LifecycleEvent.OnChanges], ...})
    class MyComponent implements OnChanges {
      void onChanges() {...}
    }

    // Typescript
    @Component({lifecycle: [LifecycleEvent.OnChanges], ...})
    class MyComponent implements OnChanges {
      onChanges(): void {...}
    }

    // ES5
    var MyComponent = ng.
    Component({lifecycle: [LifecycleEvent.OnChanges], ...}).
    Class({
      onChanges: function() {...}
    });

After

    // Dart
    @Component({...})
    class MyComponent implements OnChanges {
      void onChanges() {...}
    }

    // Typescript
    @Component({...})
    class MyComponent implements OnChanges {
      onChanges(): void {...}
    }

    // ES5
    var MyComponent = ng
      .Component({...})
      .Class({
        onChanges: function() {
        }
      });
2015-09-05 01:02:33 +00:00
..
benchmark/transform chore: update all import paths 2015-08-25 15:33:23 -07:00
compiler fix(build): switch to cjs output for es5. 2015-09-04 23:10:34 +00:00
core refactor(LifecycleEvent): remove LifecycleEvent 2015-09-05 01:02:33 +00:00
forms refactor(forms): use multibindings instead of query to get a list of validators 2015-09-03 15:18:18 +00:00
http chore: Make enum names consistent with TypeScript convention 2015-08-27 22:32:21 -07:00
mock chore: update all import paths 2015-08-25 15:33:23 -07:00
pipes refactor(ChandeDetection): Rename ChangeDetectorRef.markForCheck 2015-08-31 21:32:10 +00:00
router feat(core): remove the (^ syntax and make all DOM events bubbling 2015-09-01 15:54:47 +00:00
test_lib refactor(test_lib): BrowserDetection util 2015-08-28 11:41:17 +02:00
web_workers fix(WebWorker): Fix Todo Server demo and add test to ensure the demo can bootstrap. 2015-09-03 18:52:06 +00:00
platform.dart refactor: Remove isDart from public API 2015-08-13 21:18:31 +00:00
platform.ts refactor: Remove isDart from public API 2015-08-13 21:18:31 +00:00