fix(build): Actually code in the subset of JS that Traceur-Dart supports.

This commit is contained in:
Martin Probst 2015-03-31 16:08:16 -07:00
parent adab6c0728
commit eb7b7581ca
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import {ddescribe, describe, it, iit, expect, beforeEach} from 'angular2/test_li
import {Directive, onChange} from 'angular2/src/core/annotations/annotations';
class DummyDirective extends Directive {
constructor({lifecycle = []} = {}) { super({lifecycle: lifecycle}); }
constructor({lifecycle} = {}) { super({lifecycle: lifecycle}); }
}
export function main() {

View File

@ -15,7 +15,7 @@ import {Directive} from 'angular2/src/core/annotations/annotations';
import {BindingPropagationConfig} from 'angular2/change_detection';
class DummyDirective extends Directive {
constructor({lifecycle = []} = {}) { super({lifecycle: lifecycle}); }
constructor({lifecycle} = {}) { super({lifecycle: lifecycle}); }
}
@proxy

View File

@ -18,7 +18,7 @@ import {EventManager, DomEventsPlugin} from 'angular2/src/core/events/event_mana
import {reflector} from 'angular2/src/reflection/reflection';
class DummyDirective extends Directive {
constructor({lifecycle = []} = {}) { super({lifecycle: lifecycle}); }
constructor({lifecycle} = {}) { super({lifecycle: lifecycle}); }
}
@proxy