refactor(core): remove DynamicComponent
BREAKING CHANGE: A dynamic component is just a component that has no @View annotation…
This commit is contained in:
@ -9,7 +9,7 @@ import {document} from 'angular2/src/facade/browser';
|
||||
|
||||
// TODO(radokirov): Once the application is transpiled by TS instead of Traceur,
|
||||
// add those imports back into 'angular2/angular2';
|
||||
import {Component, Decorator, DynamicComponent} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {Component, Decorator} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
@Component({selector: 'scroll-app'})
|
||||
|
@ -5,7 +5,7 @@ import {For} from 'angular2/directives';
|
||||
|
||||
// TODO(radokirov): Once the application is transpiled by TS instead of Traceur,
|
||||
// add those imports back into 'angular2/angular2';
|
||||
import {Component, Decorator, DynamicComponent} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {Component, Decorator} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
export class HasStyle {
|
||||
|
@ -3,7 +3,7 @@ import {Math} from 'angular2/src/facade/math';
|
||||
|
||||
// TODO(radokirov): Once the application is transpiled by TS instead of Traceur,
|
||||
// add those imports back into 'angular2/angular2';
|
||||
import {Component, Decorator, DynamicComponent} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {Component, Decorator} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
import {Offering, ITEMS, ITEM_HEIGHT, VISIBLE_ITEMS, VIEW_PORT_HEIGHT,
|
||||
|
@ -5,7 +5,7 @@ import {CompanyNameComponent, OpportunityNameComponent,
|
||||
|
||||
// TODO(radokirov): Once the application is transpiled by TS instead of Traceur,
|
||||
// add those imports back into 'angular2/angular2';
|
||||
import {Component, Decorator, DynamicComponent} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {Component, Decorator} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
import {Offering, ITEM_HEIGHT, COMPANY_NAME_WIDTH, OPPORTUNITY_NAME_WIDTH,
|
||||
|
Reference in New Issue
Block a user