a zip code crypto-currency system good for red ONLY

1234567891011121314151617
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. function NextPlugin(source, target) {
  6. this.source = source;
  7. this.target = target;
  8. }
  9. module.exports = NextPlugin;
  10. NextPlugin.prototype.apply = function(resolver) {
  11. var target = this.target;
  12. resolver.plugin(this.source, function(request, callback) {
  13. resolver.doResolve(target, request, null, callback);
  14. });
  15. };