Skip to content

Commit

Permalink
Removed a comment and fixed some indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrolds committed Jan 24, 2012
1 parent f90be3e commit 0affa91
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/assetmanager.js
Expand Up @@ -7,7 +7,6 @@ var fs = require('fs')
, cssmin = require('./../deps/cssmin').minify
, crypto = require('crypto');

// this is lame, I know. Will fix later
var zlib;
try {
zlib = require('zlib');
Expand Down Expand Up @@ -251,11 +250,11 @@ module.exports = function assetManager (assets) {
'buffer': utf8Buffer,
'length': utf8Buffer.length,
'encoding': 'utf8'
};
};

if(zlib) {
var gzipBuffer = zlib.gzip(utf8Buffer, function(error, result) {
encodings.gzip = {
encodings.gzip = {
'buffer': result,
'length': result.length,
'encoding': 'gzip'
Expand Down

0 comments on commit 0affa91

Please sign in to comment.