Skip to content

Commit 010e06e

Browse files
committed
Update copyright, update dependencies
1 parent d7754a0 commit 010e06e

File tree

5 files changed

+113
-115
lines changed

5 files changed

+113
-115
lines changed

animate-config.json

Lines changed: 104 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,120 @@
11
{
22

3-
"attention_seekers": {
4-
"bounce": true,
5-
"flash": true,
6-
"pulse": true,
7-
"rubberBand": true,
8-
"shake": true,
9-
"headShake": true,
10-
"swing": true,
11-
"tada": true,
12-
"wobble": true,
13-
"jello": true
14-
},
3+
"attention_seekers": [
4+
"bounce",
5+
"flash",
6+
"pulse",
7+
"rubberBand",
8+
"shake",
9+
"headShake",
10+
"swing",
11+
"tada",
12+
"wobble",
13+
"jello"
14+
],
1515

16-
"bouncing_entrances": {
17-
"bounceIn": true,
18-
"bounceInDown": true,
19-
"bounceInLeft": true,
20-
"bounceInRight": true,
21-
"bounceInUp": true
22-
},
16+
"bouncing_entrances": [
17+
"bounceIn",
18+
"bounceInDown",
19+
"bounceInLeft",
20+
"bounceInRight",
21+
"bounceInUp"
22+
],
2323

24-
"bouncing_exits": {
25-
"bounceOut": true,
26-
"bounceOutDown": true,
27-
"bounceOutLeft": true,
28-
"bounceOutRight": true,
29-
"bounceOutUp": true
30-
},
24+
"bouncing_exits": [
25+
"bounceOut",
26+
"bounceOutDown",
27+
"bounceOutLeft",
28+
"bounceOutRight",
29+
"bounceOutUp"
30+
],
3131

32-
"fading_entrances": {
33-
"fadeIn": true,
34-
"fadeInDown": true,
35-
"fadeInDownBig": true,
36-
"fadeInLeft": true,
37-
"fadeInLeftBig": true,
38-
"fadeInRight": true,
39-
"fadeInRightBig": true,
40-
"fadeInUp": true,
41-
"fadeInUpBig": true
42-
},
32+
"fading_entrances": [
33+
"fadeIn",
34+
"fadeInDown",
35+
"fadeInDownBig",
36+
"fadeInLeft",
37+
"fadeInLeftBig",
38+
"fadeInRight",
39+
"fadeInRightBig",
40+
"fadeInUp",
41+
"fadeInUpBig"
42+
],
4343

44-
"fading_exits": {
45-
"fadeOut": true,
46-
"fadeOutDown": true,
47-
"fadeOutDownBig": true,
48-
"fadeOutLeft": true,
49-
"fadeOutLeftBig": true,
50-
"fadeOutRight": true,
51-
"fadeOutRightBig": true,
52-
"fadeOutUp": true,
53-
"fadeOutUpBig": true
54-
},
44+
"fading_exits": [
45+
"fadeOut",
46+
"fadeOutDown",
47+
"fadeOutDownBig",
48+
"fadeOutLeft",
49+
"fadeOutLeftBig",
50+
"fadeOutRight",
51+
"fadeOutRightBig",
52+
"fadeOutUp",
53+
"fadeOutUpBig"
54+
],
5555

56-
"flippers": {
57-
"flip": true,
58-
"flipInX": true,
59-
"flipInY": true,
60-
"flipOutX": true,
61-
"flipOutY": true
62-
},
56+
"flippers": [
57+
"flip",
58+
"flipInX",
59+
"flipInY",
60+
"flipOutX",
61+
"flipOutY"
62+
],
6363

64-
"lightspeed": {
65-
"lightSpeedIn": true,
66-
"lightSpeedOut": true
67-
},
64+
"lightspeed": [
65+
"lightSpeedIn",
66+
"lightSpeedOut"
67+
],
6868

69-
"rotating_entrances": {
70-
"rotateIn": true,
71-
"rotateInDownLeft": true,
72-
"rotateInDownRight": true,
73-
"rotateInUpLeft": true,
74-
"rotateInUpRight": true
75-
},
69+
"rotating_entrances": [
70+
"rotateIn",
71+
"rotateInDownLeft",
72+
"rotateInDownRight",
73+
"rotateInUpLeft",
74+
"rotateInUpRight"
75+
],
7676

77-
"rotating_exits": {
78-
"rotateOut": true,
79-
"rotateOutDownLeft": true,
80-
"rotateOutDownRight": true,
81-
"rotateOutUpLeft": true,
82-
"rotateOutUpRight": true
83-
},
77+
"rotating_exits": [
78+
"rotateOut",
79+
"rotateOutDownLeft",
80+
"rotateOutDownRight",
81+
"rotateOutUpLeft",
82+
"rotateOutUpRight"
83+
],
8484

85-
"specials": {
86-
"hinge": true,
87-
"rollIn": true,
88-
"rollOut": true
89-
},
85+
"specials": [
86+
"hinge",
87+
"rollIn",
88+
"rollOut"
89+
],
9090

91-
"zooming_entrances": {
92-
"zoomIn": true,
93-
"zoomInDown": true,
94-
"zoomInLeft": true,
95-
"zoomInRight": true,
96-
"zoomInUp": true
97-
},
91+
"zooming_entrances": [
92+
"zoomIn",
93+
"zoomInDown",
94+
"zoomInLeft",
95+
"zoomInRight",
96+
"zoomInUp"
97+
],
9898

99-
"zooming_exits": {
100-
"zoomOut": true,
101-
"zoomOutDown": true,
102-
"zoomOutLeft": true,
103-
"zoomOutRight": true,
104-
"zoomOutUp": true
105-
},
99+
"zooming_exits": [
100+
"zoomOut",
101+
"zoomOutDown",
102+
"zoomOutLeft",
103+
"zoomOutRight",
104+
"zoomOutUp"
105+
],
106106

107-
"sliding_entrances": {
108-
"slideInDown": true,
109-
"slideInLeft": true,
110-
"slideInRight": true,
111-
"slideInUp": true
112-
},
107+
"sliding_entrances": [
108+
"slideInDown",
109+
"slideInLeft",
110+
"slideInRight",
111+
"slideInUp"
112+
],
113113

114-
"sliding_exits": {
115-
"slideOutDown": true,
116-
"slideOutLeft": true,
117-
"slideOutRight": true,
118-
"slideOutUp": true
119-
}
114+
"sliding_exits": [
115+
"slideOutDown",
116+
"slideOutLeft",
117+
"slideOutRight",
118+
"slideOutUp"
119+
]
120120
}

animate.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Version - 3.5.0
66
* Licensed under the MIT license - http://opensource.org/licenses/MIT
77
*
8-
* Copyright (c) 2015 Daniel Eden
8+
* Copyright (c) 2016 Daniel Eden
99
*/
1010

1111
.animated {

animate.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var concat = require('gulp-concat');
1010
var header = require('gulp-header');
1111
var autoprefixer = require('gulp-autoprefixer');
1212
var runSequence = require('run-sequence');
13-
var minify = require('gulp-minify-css');
13+
var minify = require('gulp-cssnano');
1414
var rename = require('gulp-rename');
1515

1616
// Misc/global vars
@@ -57,7 +57,7 @@ gulp.task('createCSS', function() {
5757
.pipe(autoprefixer(opts.autoprefixer))
5858
.pipe(gulp.dest(opts.destPath))
5959
.pipe(rename(opts.minRename))
60-
.pipe(minify())
60+
.pipe(minify({reduceIdents: {keyframes: false}}))
6161
.pipe(gulp.dest(opts.destPath));
6262
});
6363

@@ -82,11 +82,9 @@ function activateAnimations() {
8282
if (categories.hasOwnProperty(category)) {
8383
files = categories[category];
8484

85-
for (file in files) {
86-
if (files.hasOwnProperty(file) && files[file]) {
87-
target.push('source/' + category + '/' + file + '.css');
88-
count += 1;
89-
}
85+
for (var i = 0; i < files.length; ++i) {
86+
target.push('source/' + category + '/' + files[i] + '.css');
87+
count += 1;
9088
}
9189
}
9290
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"gulp": "^3.9.0",
2424
"gulp-autoprefixer": "^3.1.0",
2525
"gulp-concat": "^2.6.0",
26+
"gulp-cssnano": "^2.0.0",
2627
"gulp-header": "^1.7.1",
27-
"gulp-minify-css": "^1.2.2",
2828
"gulp-rename": "^1.2.2",
2929
"gulp-util": "^3.0.7",
3030
"run-sequence": "^1.1.5"

0 commit comments

Comments
 (0)