Closed zhouyaoji closed 10 years ago
Overall looking good. Are you sure that all dependencies have been updated too?
@drewfish I'll check and confirm again that all dependencies have been update as well.
@drewfish I've confirmed that the app/mojit dependencies, including the test code, have been updated. The tests for the newly created apps/mojits from the updated archetypes also pass.
@isao I modified the function replaceCb
to only lowercase values for the key {{name}}
. I am not creating new archetypes. As for the README, I haven't changed the way that {{name}}
and {{port}}
are implemented, and custom key-value pairs are not affected now by the change.
@isao I retained the original form of replacer.js
and made changes in index.js
that would allow for both the YUI module and class naming convention with the following:
keyval.class = keyval.name || name;
keyval.name = keyval.class.toLowerCase();
I updated the README.md and the archetypes. I reviewed the rendered mojit code and ran tests for all the mojit types as well.
LGTM
When you create the mojit
Map
with$ mojito create mojit simple Map
, Mojito will create the controller with the module namemap
.When you create the mojit
Map
with the following commands:$ mojito create mojit Map
$ mojito create mojit full Map
Mojito will create a controller, binder, models, and tests with the following module names:
map
map-model
map-binder-index
map-tests
joe-model-tests