lib/minimize.js
function createPlug(element) {
    return function plug(plugin, fn) {
      fn = fn || minimize.emits('plugin');

      debug('Running plugin for element %s', element.name);
      minimize.plugins[plugin].element.call(minimize, element, fn);
    }
  }
function createPlug(element) {
    return function plug(plugin, fn) {
      fn = fn || minimize.emits('plugin');

      debug('Running plugin for element %s', element.name);
      minimize.plugins[plugin].element.call(minimize, element, fn);
    }
  }
function createPlug ( element ) { return function plug ( plugin , fn ) { fn = fn || minimize . emits ( 'plugin' ) ; debug ( 'Running plugin for element %s' , element . name ) ; minimize . plugins [ plugin ] . element . call ( minimize , element , fn ) ; } }
Create plugins for element.

@param {Object} element Properties.
@return {Function} Plugin function to run.
@api private
Create plugins for element .