text: var Schema = require("truffle-contract-schema");
  var Contract = require("./lib/contract.js");
  
  var contract = function(options) {
    var binary = Schema.normalize(options || {});
  
    // Note we don't use `new` here at all. This will cause the class to
    // "mutate" instead of instantiate an instance.
    return Contract.clone(binary);
  };
  
  module.exports = contract;
  
  if (typeof window !== "undefined") {
    window.TruffleContract = contract;
  }
  