Permalink
Browse files

Removed a comment and fixed some indentation

  • Loading branch information...
1 parent f90be3e commit 0affa91d773849084abbf85e67db52c79e9e5b70 @ryanrolds ryanrolds committed Jan 24, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/assetmanager.js
View
5 lib/assetmanager.js
@@ -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');
@@ -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'

0 comments on commit 0affa91

Please sign in to comment.