Sha256: 2e662d2c0b8747c3d16b375a57afa9c758f29deebda62f3551972d1c787013e8
Contents?: true
Size: 672 Bytes
Versions: 5
Compression:
Stored size: 672 Bytes
Contents
(function(exports) { var preProcessor = function() {}; preProcessor.prototype = { process : function (src, extra) { var injected = '@color: red;\n'; var ignored = extra.imports.contentsIgnoredChars; var fileInfo = extra.fileInfo; ignored[fileInfo.filename] = ignored[fileInfo.filename] || 0; ignored[fileInfo.filename] += injected.length; return injected + src; } }; exports.install = function(less, pluginManager) { pluginManager.addPreProcessor( new preProcessor() ); }; })(typeof exports === 'undefined' ? this['preProcessorPlugin'] = {} : exports);
Version data entries
5 entries across 5 versions & 2 rubygems