WIP Remove API

Includes changes from PR #1086
Karma tests fail on my laptop
Gregg, why don't you rebase your branch before? Maybe some of the problems
are related to not being in sync with master.
I'm sorry to help you this poorly :(
We really need to improve copay's dev experience, it sucks now (ask @chjj)


On Thu, Aug 14, 2014 at 7:00 PM, Gregg Zigler <notifications@github.com>
wrote:

> In test/test.Passphrase.js:
>
> > @@ -4,11 +4,7 @@ var chai = chai || require('chai');
> >  var should = chai.should();
> >  var bitcore = bitcore || require('bitcore');
> >  var buffertools = bitcore.buffertools;
> > -try {
> > -  var copay = require('copay'); //browser
> > -} catch (e) {
> > -  var copay = require('../copay'); //node
> > -}
> > +var copay = require('../copay');
> >  var Passphrase = copay.Passphrase;
>
> even after I revert all my changes, karma still fails. in addition, mocha
> now also fails! some other code change pulled after my 5853a19
> <https://github.com/bitpay/copay/commit/5853a197e5414b0ec3e7bb426eb2a9500513090c>
> (5853a19
> <https://github.com/bitpay/copay/commit/5853a197e5414b0ec3e7bb426eb2a9500513090c>)
> has broken mocha.
>
> instead of reverting my changes, i'm going to dig into the problems that
> appear in tests for storage.LocalEncrypted, Wallet, and WalletFactory.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/bitpay/copay/pull/1095/files#r16269396>.
>