Skip to content

Commit a872896

Browse files
committed
Fix bad indentation
1 parent 724dc5d commit a872896

File tree

1 file changed

+22
-32
lines changed

1 file changed

+22
-32
lines changed

BUILD/BUILD.js

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,30 @@
11
#!/usr/bin/env node
22

3-
var fs = require('fs')
4-
, compressor = require('node-minify')
5-
;
3+
var fs = require('fs'),
4+
compressor = require('node-minify');
65

76
new compressor.minify({
8-
type: 'gcc',
9-
fileIn: '../intro.js',
10-
fileOut: '../minified/intro.min.js',
11-
callback: function(err)
12-
{
13-
if (err)
14-
{
15-
console.log(err);
16-
}
17-
else
18-
{
19-
console.log("JS minified");
20-
}
21-
}
7+
type: 'gcc',
8+
fileIn: '../intro.js',
9+
fileOut: '../minified/intro.min.js',
10+
callback: function (err) {
11+
if (err) {
12+
console.log(err);
13+
} else {
14+
console.log("JS minified");
15+
}
16+
}
2217
});
2318

2419
new compressor.minify({
25-
type: 'yui-css',
26-
fileIn: '../introjs.css',
27-
fileOut: '../minified/introjs.min.css',
28-
callback: function(err)
29-
{
30-
if (err)
31-
{
32-
console.log(err);
33-
}
34-
else
35-
{
36-
console.log("CSS minified");
37-
}
20+
type: 'yui-css',
21+
fileIn: '../introjs.css',
22+
fileOut: '../minified/introjs.min.css',
23+
callback: function (err) {
24+
if (err) {
25+
console.log(err);
26+
} else {
27+
console.log("CSS minified");
3828
}
39-
});
40-
29+
}
30+
});

0 commit comments

Comments
 (0)