@juandopazo here we are applying the trick so you could do something like:

```
    app.yui.applyCondition('my-app', {
        test: function (Y) {
            return !!Y.config.global.Promise
        },
        nope: ['//cdn.yahooapis.com/path/to/ypromise.js']
    });
```