This is not only in YUI, it is the same in ES syntax, when you do:

```
System.import('myapp').then(function (mod) {
     // here you get mod, not the default exports of the module, which means you need to use default.
});
```

this is simply equivalent to `module foo from "foo";`