You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ngAnimate/module.js
+5-5
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@
290
290
* jQuery(element).fadeOut(1000, doneFn);
291
291
* }
292
292
* }
293
-
* }]
293
+
* }]);
294
294
* ```
295
295
*
296
296
* The nice thing about JS-based animations is that we can inject other services and make use of advanced animation libraries such as
@@ -321,7 +321,7 @@
321
321
* // do some cool animation and call the doneFn
322
322
* }
323
323
* }
324
-
* }]
324
+
* }]);
325
325
* ```
326
326
*
327
327
* ## CSS + JS Animations Together
@@ -343,7 +343,7 @@
343
343
* jQuery(element).slideIn(1000, doneFn);
344
344
* }
345
345
* }
346
-
* }]
346
+
* }]);
347
347
* ```
348
348
*
349
349
* ```css
@@ -372,7 +372,7 @@
372
372
* runner.done(doneFn);
373
373
* }
374
374
* }
375
-
* }]
375
+
* }]);
376
376
* ```
377
377
*
378
378
* The nice thing here is that we can save bandwidth by sticking to our CSS-based animation code and we don't need to rely on a 3rd-party animation framework.
@@ -396,7 +396,7 @@
396
396
* runner.done(doneFn);
397
397
* }
398
398
* }
399
-
* }]
399
+
* }]);
400
400
* ```
401
401
*
402
402
* Now we can fill in the rest via our transition CSS code:
0 commit comments