Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 5785f2a

Browse files
mgolpetebacondarwin
authored andcommitted
docs($animation): fix weird spaces around colons
1 parent 2546c29 commit 5785f2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/content/guide/animations.ngdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The same approach to animation can be used using JavaScript code (**jQuery is us
122122
```js
123123
myModule.animation('.repeated-item', function() {
124124
return {
125-
enter : function(element, done) {
125+
enter: function(element, done) {
126126
element.css('opacity',0);
127127
jQuery(element).animate({
128128
opacity: 1
@@ -137,7 +137,7 @@ myModule.animation('.repeated-item', function() {
137137
}
138138
}
139139
},
140-
leave : function(element, done) {
140+
leave: function(element, done) {
141141
element.css('opacity', 1);
142142
jQuery(element).animate({
143143
opacity: 0
@@ -152,7 +152,7 @@ myModule.animation('.repeated-item', function() {
152152
}
153153
}
154154
},
155-
move : function(element, done) {
155+
move: function(element, done) {
156156
element.css('opacity', 0);
157157
jQuery(element).animate({
158158
opacity: 1
@@ -169,8 +169,8 @@ myModule.animation('.repeated-item', function() {
169169
},
170170

171171
// you can also capture these animation events
172-
addClass : function(element, className, done) {},
173-
removeClass : function(element, className, done) {}
172+
addClass: function(element, className, done) {},
173+
removeClass: function(element, className, done) {}
174174
}
175175
});
176176
```

0 commit comments

Comments
 (0)