index.js 398 B

1234567891011121314
  1. (function(exports) {
  2. var postProcessor = function() {};
  3. postProcessor.prototype = {
  4. process: function (css) {
  5. return 'hr {height:50px;}\n' + css;
  6. }
  7. };
  8. exports.install = function(less, pluginManager) {
  9. pluginManager.addPostProcessor( new postProcessor());
  10. };
  11. })(typeof exports === 'undefined' ? this['postProcessorPlugin'] = {} : exports);