function convertToFiles(callback) {
        if (opts.jsonFile) {
            var output = new File({
                contents: new Buffer(JSON.stringify(spritesheet, null, '\t')),
                path: opts.jsonFile,
            });
            this.push(output);
        }
        if (opts.scssFile) {
            var output = new File({
                path: opts.scssFile,
                contents: new Buffer(jsonToSass(spritesheet))
            });
            this.push(output);
        }
        callback();
    }
/**
     * Once all files have been compressed, return compressed JSON file an SASS file .
     * @param {Function} callback
     */
Once all files have been compressed, return compressed JSON file an SASS file .
@param {Function} callback
Once all files have been compressed return compressed JSON file an SASS file . @param { Function } callback
function convertToFiles(callback) {
        if (opts.jsonFile) {
            var output = new File({
                contents: new Buffer(JSON.stringify(spritesheet, null, '\t')),
                path: opts.jsonFile,
            });
            this.push(output);
        }
        if (opts.scssFile) {
            var output = new File({
                path: opts.scssFile,
                contents: new Buffer(jsonToSass(spritesheet))
            });
            this.push(output);
        }
        callback();
    }
function convertToFiles ( callback ) { if ( opts . jsonFile ) { var output = new File ( { contents : new Buffer ( JSON . stringify ( spritesheet , null , '\t' ) ) , path : opts . jsonFile , } ) ; this . push ( output ) ; } if ( opts . scssFile ) { var output = new File ( { path : opts . scssFile , contents : new Buffer ( jsonToSass ( spritesheet ) ) } ) ; this . push ( output ) ; } callback ( ) ; }
Once all files have been compressed, return compressed JSON file an SASS file .
Once all files have been compressed return compressed JSON file an SASS file .