This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var less = require('less'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var SourceMapGenerator = require('source-map').SourceMapGenerator | |
function errfn(callback) { | |
return function (err) { | |
if (err) callback.call(this, err); | |
else callback.apply(this, [].slice.apply(arguments).slice(1)); | |
} |