Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed a comment and fixed some indentation

  • Loading branch information...
commit 0affa91d773849084abbf85e67db52c79e9e5b70 1 parent f90be3e
@ryanrolds ryanrolds authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.