moiplabs/moipjs — pull request #3 by leobalter (2014-02-18 23:28:55+00:00)
Title: Loose creditCard type check and some refactoring

I did some refactoring and also translated test messages to English.

with this I was able to add a new feature to make a check for creditCard before it's completed, regarding retro-compatibility and keeping the external API.

The code is broken in many commits to allow you to revise this PR on each step.