Peter Donald

Results 53 issues of Peter Donald

Sometimes a user wants to `braid update` an existing upstream or `braid add` a new upstream and if there is no local changes in the local path this should be...

I would like J2CL to generate `@suppress` jsdoc tags when a specially formatted `@SuppressWarning()` is present in java code. To start with the simplest option would be to detect the...

enhancement

Currently `Element.prototype.scrollIntoViewIfNeeded` is defined in `webkit_dom.js`. It is not standardized but will soon be available in most evergreen browsers except Firefox. Although @jDramaix indicates that Firefox may catch up soon...

As part of an attempt to whittle down the remaining errors in `google/elemental2` builds I tried to define the standardized `Document.prototype.write` in an extern accessible via Elemental2. The extern looks...

Documentation can be combined from multiple sources. Probably the best option atm is to gather type documentation from [apiDescriptions.json](https://github.com/Microsoft/TSJS-lib-generator/blob/master/inputfiles/mdn/apiDescriptions.json) as most of the hard work is done and it seems...

Currently [Elemental2](https://github.com/google/elemental2) builds can produce warnings that do not halt the build. As a result it is possible for to introduce more problems in code generated from this tool without...

Currently the global object created for each module ends up potentially having a `` if there is variables accessed in scope. For example `elemental2.dom.DomGlobal` has a `elemental2.dom.DomGlobal__Constants`. The `DomGlobal__Constants` class...

Sometimes a particular property/operator is only available on some browsers. The generator will generate the field/methods regardless and the downstream consumer is left to try and feature detect in some...

In a lot of cases it would be desirable to document when an API became available. It would be great if this somehow made it through to generated java code....

Closure externs already have the concept of nullable and non-nullable values. Some types are implicitly nullable and some are implicitly nonnull although these can be explicitly overridden. See [Types-in-the-Closure-Type-System](https://github.com/google/closure-compiler/wiki/Types-in-the-Closure-Type-System) for...