Skip to content

Commit

Permalink
Fix bad indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
afshinm committed Mar 22, 2013
1 parent 724dc5d commit a872896
Showing 1 changed file with 22 additions and 32 deletions.
54 changes: 22 additions & 32 deletions BUILD/BUILD.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,30 @@
#!/usr/bin/env node

var fs = require('fs')
, compressor = require('node-minify')
;
var fs = require('fs'),
compressor = require('node-minify');

new compressor.minify({
type: 'gcc',
fileIn: '../intro.js',
fileOut: '../minified/intro.min.js',
callback: function(err)
{
if (err)
{
console.log(err);
}
else
{
console.log("JS minified");
}
}
type: 'gcc',
fileIn: '../intro.js',
fileOut: '../minified/intro.min.js',
callback: function (err) {
if (err) {
console.log(err);
} else {
console.log("JS minified");
}
}
});

new compressor.minify({
type: 'yui-css',
fileIn: '../introjs.css',
fileOut: '../minified/introjs.min.css',
callback: function(err)
{
if (err)
{
console.log(err);
}
else
{
console.log("CSS minified");
}
type: 'yui-css',
fileIn: '../introjs.css',
fileOut: '../minified/introjs.min.css',
callback: function (err) {
if (err) {
console.log(err);
} else {
console.log("CSS minified");
}
});

}
});

0 comments on commit a872896

Please sign in to comment.