Ok cool because replacer.js acts on things other than YUI module names. 

Also the readme doesn't mention the new archetypes. 

On Jan 10, 2014, at 7:06 PM, Joe Catera <notifications@github.com> wrote:

In lib/replacer.js:

> @@ -24,7 +24,7 @@ function replacer(kvs, rgx, eol) {
>      eol = eol || '\n';
>  
>      function replaceCb(match, key) { // mdn http://cl.ly/OPzu
> -        return kvs.hasOwnProperty(key) ? kvs[key] : match;
> +        return kvs.hasOwnProperty(key) ? String(kvs[key]).toLowerCase() : match.toLowerCase();
The intention is to replace the Handlebars expressions in the mojit archetype with lowercase strings so that the module naming convention will match the YUI module naming convention, which is used by the Mojito framework and the Mojito API's addons.

While it was easier to lowercase the string within the replaceCb function, in retrospect, I'm sure there is a way to avoid lowercasing all of the replaced strings. I'll look for another way and am open to suggestions. Thanks for your feedback, Isao.

—
Reply to this email directly or view it on GitHub.