File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22root = true
33
44[* ]
5- indent_style = space
5+ charset = utf-8
6+ end_of_line = lf
67indent_size = 2
8+ indent_style = space
9+ insert_final_newline = true
10+ max_line_length = 100
711tab_width = 2
8- end_of_line = lf
9- charset = utf-8
1012trim_trailing_whitespace = true
11- insert_final_newline = true
Original file line number Diff line number Diff line change @@ -123,7 +123,10 @@ http://api.jquery.com/one/
123123-->
124124
125125``` javascript
126- $ (' #yourElement' ).one (' webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend' , doSomething);
126+ $ (' #yourElement' ).one (
127+ ' webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend' ,
128+ doSomething,
129+ );
127130```
128131
129132[ View a video tutorial] ( https://www.youtube.com/watch?v=CBQGl6zokMs ) on how to use Animate.css with jQuery here.
@@ -135,7 +138,8 @@ You can also extend jQuery to add a function that does it all for you:
135138``` javascript
136139$ .fn .extend ({
137140 animateCss : function (animationName , callback ) {
138- var animationEnd = ' webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend' ;
141+ var animationEnd =
142+ ' webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend' ;
139143 this .addClass (' animated ' + animationName).one (animationEnd, function () {
140144 $ (this ).removeClass (' animated ' + animationName);
141145 if (callback) {
Original file line number Diff line number Diff line change 3939 },
4040 "prettier" : {
4141 "bracketSpacing" : false ,
42- "printWidth" : 120 ,
4342 "proseWrap" : " never" ,
4443 "singleQuote" : true ,
45- "tabWidth" : 2 ,
4644 "trailingComma" : " all"
4745 },
4846 "scripts" : {
You can’t perform that action at this time.
0 commit comments