Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit c5e2ed9

Browse files
jbdeboerchirayuk
authored andcommitted
chore(annotations): Undeprecate some annotations
@controller remains deprecated. For #1186 Closes #1198
1 parent 97a4519 commit c5e2ed9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/core/annotation_src.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,21 @@ abstract class Directive {
6868
* * [TRANSCLUDE_CHILDREN]
6969
* * [IGNORE_CHILDREN]
7070
*/
71-
@deprecated
7271
final String children;
7372

7473
/**
7574
* Compile the child nodes of the element. This is the default.
7675
*/
77-
@deprecated
7876
static const String COMPILE_CHILDREN = 'compile';
7977
/**
8078
* Compile the child nodes for transclusion and makes available
8179
* [BoundViewFactory], [ViewFactory] and [ViewPort] for injection.
8280
*/
83-
@deprecated
8481
static const String TRANSCLUDE_CHILDREN = 'transclude';
8582
/**
8683
* Do not compile/visit the child nodes. Angular markup on descendant nodes
8784
* will not be processed.
8885
*/
89-
@deprecated
9086
static const String IGNORE_CHILDREN = 'ignore';
9187

9288
/**
@@ -297,7 +293,6 @@ class Component extends Directive {
297293
* published into. This allows the expressions in the template to be referring
298294
* to controller instance and its properties.
299295
*/
300-
@deprecated
301296
final String publishAs;
302297

303298
/**
@@ -473,7 +468,6 @@ abstract class DirectiveAnnotation {
473468
* The value of the attribute to be treated as a string, equivalent
474469
* to `@` specification.
475470
*/
476-
@deprecated
477471
class NgAttr extends DirectiveAnnotation {
478472
final _mappingSpec = '@';
479473
const NgAttr(String attrName) : super(attrName);
@@ -485,7 +479,6 @@ class NgAttr extends DirectiveAnnotation {
485479
* The value of the attribute to be treated as a one-way expression, equivalent
486480
* to `=>` specification.
487481
*/
488-
@deprecated
489482
class NgOneWay extends DirectiveAnnotation {
490483
final _mappingSpec = '=>';
491484
const NgOneWay(String attrName) : super(attrName);
@@ -497,7 +490,6 @@ class NgOneWay extends DirectiveAnnotation {
497490
* The value of the attribute to be treated as a one time one-way expression,
498491
* equivalent to `=>!` specification.
499492
*/
500-
@deprecated
501493
class NgOneWayOneTime extends DirectiveAnnotation {
502494
final _mappingSpec = '=>!';
503495
const NgOneWayOneTime(String attrName) : super(attrName);
@@ -509,7 +501,6 @@ class NgOneWayOneTime extends DirectiveAnnotation {
509501
* The value of the attribute to be treated as a two-way expression,
510502
* equivalent to `<=>` specification.
511503
*/
512-
@deprecated
513504
class NgTwoWay extends DirectiveAnnotation {
514505
final _mappingSpec = '<=>';
515506
const NgTwoWay(String attrName) : super(attrName);
@@ -521,7 +512,6 @@ class NgTwoWay extends DirectiveAnnotation {
521512
* The value of the attribute to be treated as a callback expression,
522513
* equivalent to `&` specification.
523514
*/
524-
@deprecated
525515
class NgCallback extends DirectiveAnnotation {
526516
final _mappingSpec = '&';
527517
const NgCallback(String attrName) : super(attrName);

0 commit comments

Comments
 (0)