Open shicks opened 7 years ago
Example:
goog.module('Foo'); class Foo {} Foo.Bar = class {}; exports = Foo;
This produces classes Foo and Bar in the left-hand menu. If, on the other hand, I write
Foo
Bar
goog.module('ns.Foo');
then the left-hand menu is correct: under ns is Foo and Foo.Bar.
ns
Foo.Bar
Example:
This produces classes
Foo
andBar
in the left-hand menu. If, on the other hand, I writethen the left-hand menu is correct: under
ns
isFoo
andFoo.Bar
.