Code coverage report for lib/tasks/cssmin.js

Statements: 100% (4 / 4)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (4 / 4)     

All files » lib/tasks/ » cssmin.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15            1   1 8 8        
/*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://yuilibrary.com/license/
*/
 
var yuglify = require('yuglify');
 
exports.cssmin = function (options, blob, done) {
    yuglify.cssmin(blob.result, function(err, smashed) {
        done(null, new blob.constructor(smashed, blob));
    });
};