Marak/Faker.js — pull request #51 by joelfillmore (2013-03-20 06:01:05+00:00)
Title: Fixes performance problems described in issue #45

Per our discussion in issue #45, I've changed the definition properties to direct array declarations rather than functions which return arrays.

I also modified the build script to handle serialization of both arrays (for the definition properties) and functions.

Finally, I updated one unit test which assumed the definitions were functions.

I rebuilt and all tests are passing with 100% code coverage. Performance is now great with the minified version where I was seeing problems before.

Let me know if you have any questions about the changes. Thanks!