Skip to content

Commit 44b2600

Browse files
committed
Add or remove whitespace
1 parent 43fe459 commit 44b2600

File tree

5 files changed

+27
-21
lines changed

5 files changed

+27
-21
lines changed

Gruntfile.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
module.exports = function(grunt) {
2-
32
require('load-grunt-tasks')(grunt);
4-
53
var concatAnim;
64

75
grunt.initConfig({
8-
96
pkg: grunt.file.readJSON('package.json'),
107

118
concat: {
@@ -71,22 +68,21 @@ module.exports = function(grunt) {
7168
tasks: ['default']
7269
}
7370
}
74-
7571
});
7672

7773
// fuction to perform custom task
7874
concatAnim = function () {
79-
8075
var categories = grunt.file.readJSON('animate-config.json'),
8176
category, files, file,
8277
target = [ 'source/_base.css' ],
8378
count = 0;
8479

85-
for ( category in categories ) {
86-
if ( categories.hasOwnProperty(category) ) {
80+
for (category in categories) {
81+
if (categories.hasOwnProperty(category)) {
8782
files = categories[category];
83+
8884
for (file in files) {
89-
if ( files.hasOwnProperty(file) && files[file] ) {
85+
if (files.hasOwnProperty(file) && files[file]) {
9086
target.push('source/' + category + '/' + file + '.css');
9187
count += 1;
9288
}
@@ -102,12 +98,10 @@ module.exports = function(grunt) {
10298

10399
grunt.config('concat', { 'animate.css': target });
104100
grunt.task.run('concat');
105-
106101
};
107102

108103
// register task
109104
grunt.registerTask('concat-anim', 'Concatenates activated animations', concatAnim); // custom task
110105
grunt.registerTask('default', ['concat-anim', 'autoprefixer', 'cssmin', 'usebanner']);
111106
grunt.registerTask('dev', ['watch']);
112-
113107
};

source/attention_seekers/headShake.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
@keyframes headShake {
2-
3-
42
0 {
53
transform: translateX(0);
64
}
@@ -26,7 +24,6 @@
2624
}
2725
}
2826

29-
3027
.headShake {
3128
animation-timing-function: ease-in-out;
3229
animation-name: headShake;

source/attention_seekers/jello.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,37 @@
22
from, 11.1%, to {
33
transform: none;
44
}
5+
56
22.2% {
67
transform: skewX(-12.5deg) skewY(-12.5deg);
78
}
9+
810
33.3% {
911
transform: skewX(6.25deg) skewY(6.25deg);
1012
}
13+
1114
44.4% {
1215
transform: skewX(-3.125deg) skewY(-3.125deg);
1316
}
17+
1418
55.5% {
1519
transform: skewX(1.5625deg) skewY(1.5625deg);
1620
}
21+
1722
66.6% {
1823
transform: skewX(-0.78125deg) skewY(-0.78125deg);
1924
}
25+
2026
77.7% {
2127
transform: skewX(0.390625deg) skewY(0.390625deg);
2228
}
29+
2330
88.8% {
2431
transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
2532
}
2633
}
2734

28-
29-
3035
.jello{
31-
animation-name:jello;
32-
transform-origin: center;
36+
animation-name:jello;
37+
transform-origin: center;
3338
}

source/fading_entrances/fadeIn.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
@keyframes fadeIn {
2-
from {opacity: 0;}
3-
to {opacity: 1;}
2+
from {
3+
opacity: 0;
4+
}
5+
6+
to {
7+
opacity: 1;
8+
}
49
}
510

611
.fadeIn {

source/fading_exits/fadeOut.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
@keyframes fadeOut {
2-
from {opacity: 1;}
3-
to {opacity: 0;}
2+
from {
3+
opacity: 1;
4+
}
5+
6+
to {
7+
opacity: 0;
8+
}
49
}
510

611
.fadeOut {

0 commit comments

Comments
 (0)