Skip to content

Commit f893e8c

Browse files
committed
9ba5df8 chore(docker): improvements based on Guy's work
1 parent 95d2156 commit f893e8c

106 files changed

Lines changed: 1037 additions & 1241 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Thu Mar 10 17:47:54 UTC 2016
2-
43bb31c6c6acf3d6dc1f499d7e85da325934b5d7
1+
Thu Mar 10 18:09:41 UTC 2016
2+
9ba5df8d90ed1c6a3912e8a34e39229215ba9365

lib/bootstrap.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* See [bootstrap] for more information.
3-
*
3+
* @deprecated
44
*/
55
library angular2.bootstrap;
66

lib/bootstrap_static.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* See [bootstrap] for more information.
3-
*
3+
* @deprecated
44
*/
55
library angular2.bootstrap_static;
66

lib/compiler.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
*
3-
*
2+
* @module
3+
* @description
44
* Starting point to import all compiler APIs.
55
*/
66
library angular2.compiler;

lib/router.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
*
3-
*
2+
* @module
3+
* @description
44
* Maps application URLs into application states, to support deep-linking and navigation.
55
*/
66
library angular2.router;

lib/src/animate/animation.dart

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class Animation {
3535

3636
/**
3737
* Stores the start time and starts the animation
38-
*
39-
*
40-
*
38+
* @param element
39+
* @param data
40+
* @param browserDetails
4141
*/
4242
Animation(this.element, this.data, this.browserDetails) {
4343
this.startTime = DateWrapper.toMillis(DateWrapper.now());
@@ -90,7 +90,7 @@ class Animation {
9090

9191
/**
9292
* Applies the provided styles to the element
93-
*
93+
* @param styles
9494
*/
9595
void applyStyles(Map<String, dynamic> styles) {
9696
StringMapWrapper.forEach(styles, (dynamic value, String key) {
@@ -106,7 +106,7 @@ class Animation {
106106

107107
/**
108108
* Adds the provided classes to the element
109-
*
109+
* @param classes
110110
*/
111111
void addClasses(List<String> classes) {
112112
for (var i = 0, len = classes.length; i < len; i++)
@@ -115,7 +115,7 @@ class Animation {
115115

116116
/**
117117
* Removes the provided classes from the element
118-
*
118+
* @param classes
119119
*/
120120
void removeClasses(List<String> classes) {
121121
for (var i = 0, len = classes.length; i < len; i++)
@@ -158,8 +158,8 @@ class Animation {
158158

159159
/**
160160
* Adds animation callbacks to be called upon completion
161-
*
162-
*
161+
* @param callback
162+
* @returns {Animation}
163163
*/
164164
Animation onComplete(Function callback) {
165165
if (this.completed) {
@@ -172,8 +172,8 @@ class Animation {
172172

173173
/**
174174
* Converts the duration string to the number of milliseconds
175-
*
176-
*
175+
* @param duration
176+
* @returns {number}
177177
*/
178178
num parseDurationString(String duration) {
179179
var maxValue = 0;
@@ -193,8 +193,8 @@ class Animation {
193193

194194
/**
195195
* Strips the letters from the duration string
196-
*
197-
*
196+
* @param str
197+
* @returns {string}
198198
*/
199199
String stripLetters(String str) {
200200
return StringWrapper.replaceAll(

lib/src/animate/animation_builder.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ class AnimationBuilder {
99
BrowserDetails browserDetails;
1010
/**
1111
* Used for DI
12-
*
12+
* @param browserDetails
1313
*/
1414
AnimationBuilder(this.browserDetails) {}
1515
/**
1616
* Creates a new CSS Animation
17-
*
17+
* @returns {CssAnimationBuilder}
1818
*/
1919
CssAnimationBuilder css() {
2020
return new CssAnimationBuilder(this.browserDetails);

lib/src/animate/css_animation_builder.dart

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CssAnimationBuilder {
1414
CssAnimationBuilder(this.browserDetails) {}
1515
/**
1616
* Adds a temporary class that will be removed at the end of the animation
17-
*
17+
* @param className
1818
*/
1919
CssAnimationBuilder addAnimationClass(String className) {
2020
this.data.animationClasses.add(className);
@@ -23,7 +23,7 @@ class CssAnimationBuilder {
2323

2424
/**
2525
* Adds a class that will remain on the element after the animation has finished
26-
*
26+
* @param className
2727
*/
2828
CssAnimationBuilder addClass(String className) {
2929
this.data.classesToAdd.add(className);
@@ -32,7 +32,7 @@ class CssAnimationBuilder {
3232

3333
/**
3434
* Removes a class from the element
35-
*
35+
* @param className
3636
*/
3737
CssAnimationBuilder removeClass(String className) {
3838
this.data.classesToRemove.add(className);
@@ -41,7 +41,7 @@ class CssAnimationBuilder {
4141

4242
/**
4343
* Sets the animation duration (and overrides any defined through CSS)
44-
*
44+
* @param duration
4545
*/
4646
CssAnimationBuilder setDuration(num duration) {
4747
this.data.duration = duration;
@@ -50,7 +50,7 @@ class CssAnimationBuilder {
5050

5151
/**
5252
* Sets the animation delay (and overrides any defined through CSS)
53-
*
53+
* @param delay
5454
*/
5555
CssAnimationBuilder setDelay(num delay) {
5656
this.data.delay = delay;
@@ -59,8 +59,8 @@ class CssAnimationBuilder {
5959

6060
/**
6161
* Sets styles for both the initial state and the destination state
62-
*
63-
*
62+
* @param from
63+
* @param to
6464
*/
6565
CssAnimationBuilder setStyles(
6666
Map<String, dynamic> from, Map<String, dynamic> to) {
@@ -69,7 +69,7 @@ class CssAnimationBuilder {
6969

7070
/**
7171
* Sets the initial styles for the animation
72-
*
72+
* @param from
7373
*/
7474
CssAnimationBuilder setFromStyles(Map<String, dynamic> from) {
7575
this.data.fromStyles = from;
@@ -78,7 +78,7 @@ class CssAnimationBuilder {
7878

7979
/**
8080
* Sets the destination styles for the animation
81-
*
81+
* @param to
8282
*/
8383
CssAnimationBuilder setToStyles(Map<String, dynamic> to) {
8484
this.data.toStyles = to;
@@ -87,7 +87,7 @@ class CssAnimationBuilder {
8787

8888
/**
8989
* Starts the animation and returns a promise
90-
*
90+
* @param element
9191
*/
9292
Animation start(dynamic element) {
9393
return new Animation(element, this.data, this.browserDetails);

lib/src/common/directives.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
*
3-
*
2+
* @module
3+
* @description
44
* Common directives shipped with Angular.
55
*/
66
library angular2.src.common.directives;

lib/src/common/directives/ng_class.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class NgClass implements DoCheck, OnDestroy {
8888
IterableDiffer _iterableDiffer;
8989
KeyValueDiffer _keyValueDiffer;
9090
List<String> _initialClasses = [];
91-
dynamic /* List < String > | Set< String > */ _rawClass;
91+
dynamic /* List < String > | Set < String > */ _rawClass;
9292
NgClass(this._iterableDiffers, this._keyValueDiffers, this._ngEl,
9393
this._renderer) {}
9494
set initialClasses(String v) {
@@ -99,12 +99,12 @@ class NgClass implements DoCheck, OnDestroy {
9999
}
100100

101101
set rawClass(
102-
dynamic /* String | List < String > | Set< String > | Map < String , dynamic > */ v) {
102+
dynamic /* String | List < String > | Set < String > | Map < String , dynamic > */ v) {
103103
this._cleanupClasses(this._rawClass);
104104
if (isString(v)) {
105105
v = ((v as String)).split(" ");
106106
}
107-
this._rawClass = (v as dynamic /* List < String > | Set< String > */);
107+
this._rawClass = (v as dynamic /* List < String > | Set < String > */);
108108
this._iterableDiffer = null;
109109
this._keyValueDiffer = null;
110110
if (isPresent(v)) {
@@ -136,7 +136,7 @@ class NgClass implements DoCheck, OnDestroy {
136136
}
137137

138138
void _cleanupClasses(
139-
dynamic /* List < String > | Set< String > | Map < String , dynamic > */ rawClassVal) {
139+
dynamic /* List < String > | Set < String > | Map < String , dynamic > */ rawClassVal) {
140140
this._applyClasses(rawClassVal, true);
141141
this._applyInitialClasses(false);
142142
}
@@ -171,7 +171,7 @@ class NgClass implements DoCheck, OnDestroy {
171171
}
172172

173173
_applyClasses(
174-
dynamic /* List < String > | Set< String > | Map < String , dynamic > */ rawClassVal,
174+
dynamic /* List < String > | Set < String > | Map < String , dynamic > */ rawClassVal,
175175
bool isCleanup) {
176176
if (isPresent(rawClassVal)) {
177177
if (isArray(rawClassVal)) {

0 commit comments

Comments
 (0)