Ben Newman
b763d7d029
Use a separate grunt/config/jsx config file for tests.
...
No longer injecting __MOCK__ as a global constant (it's just a config
property now).
Turns out the `grunt jsx:debug` task was never necessary for tests.
2013-07-15 19:41:40 -04:00
Ben Newman
37014e1002
Call require("mock-modules").register in every mockable module.
...
Mocking happens only when config.constants.__MOCK__ is true.
2013-07-15 18:10:49 -04:00
Ben Newman
000928f9dc
Use recast.parse and .print for require("vendor/constants").propagate.
...
This removes the need to pass a callback, which is a nice improvement.
2013-06-17 16:30:32 -04:00
Ben Newman
0f87e8ee87
Rename Woodchipper-related stuff.
...
No functional changes introduced by this commit.
Renamed:
woodchipper.js -> constants.js
Woodchipper -> ConstantVisitor
debranch -> propagate
2013-06-17 16:21:51 -04:00
Paul O’Shannessy
75897c2dcd
Initial public release
2013-05-29 12:54:02 -07:00