/*jshint node:true */

'use strict';

var assert = require('assert-error');

module.exports = function binaryOpExtender(Decimal, opName, protoName) {
  var adapter = Decimal.getAdapter();

  var implementation = function() {
    throw new Error('Unsupported operation');
  };

  if (adapter.hasOwnProperty(opName)) {
    implementation = function(x) {
      return new Decimal(adapter.toString(adapter[opName](this.val(), x.val())));
    };
  }

  Decimal.prototype[protoName || opName] = implementation;

  return Decimal;
};

@@ -35,47 +35,8 @@
 ';%0A%0A
-var assert = require('assert-error');%0A%0A
 modu

remove unused and uninstalled package