yahoo/mojito — pull request #354 by dferreiroval (2012-08-06 21:54:58+00:00)
Title: yui-lang modules error when pkg is bundle

When you define your package as a "bundle",
the mojitType value is "shared" for the yui-lang modules,
which makes mojito raise a invalid YUI lang error since basename !== mojitType

I just add a check so when the mojitType is shared,
we accept as well the lang module as valid.

I think it should have any imlpications further, and al the tests pass perfectly.