angular-cn/modules
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
..
angular1_router refector(router): rename outlet integration spec to navigation spec 2015-08-31 23:24:09 +00:00
angular2 refactor(LifecycleEvent): remove LifecycleEvent 2015-09-05 01:02:33 +00:00
angular2_material refactor(LifecycleEvent): remove LifecycleEvent 2015-09-05 01:02:33 +00:00
benchmarks chore(benchmarks): enable transformer on the benchmarks 2015-09-05 00:25:51 +00:00
benchmarks_external fix(build): switch to cjs output for es5. 2015-09-04 23:10:34 +00:00
benchpress fix(benchpress): make benchpress fit for chrome 45 2015-09-05 01:01:13 +00:00
examples refactor(LifecycleEvent): remove LifecycleEvent 2015-09-05 01:02:33 +00:00
rtts_assert chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00