sciter-js-sdk icon indicating copy to clipboard operation
sciter-js-sdk copied to clipboard

Window.CHILD_WINDOW missing or misdocumented

Open leumasme opened this issue 2 years ago • 6 comments

The Window Documentation documents Window.CHILD_WINDOW as a possible window type, but that constant does not exist on Window (is undefined)

leumasme avatar Mar 07 '22 18:03 leumasme

On that note, window.screen is duplicated in documentation

leumasme avatar Mar 07 '22 19:03 leumasme

On that note, Graphics.Color misspells alpha channel as alfa, also wrong description on Alpha 0..255, description is for values 0..1 (copy-pasted from the float values above)

leumasme avatar Mar 07 '22 20:03 leumasme

Sciter-Specific-Modules has a broken link to @ bjson module, which also isnt found when importing via sciter.import - what happened here?

leumasme avatar Mar 07 '22 22:03 leumasme

@leumasme Cool what you found, best would be to create pull requests with the fixes. @c-smile accepts nearly all of them.

8ctopus avatar Mar 08 '22 12:03 8ctopus

@8ctopus for the first and last issue i'm not sure what the intended documentation is

leumasme avatar Mar 08 '22 18:03 leumasme

For the first one, I would ask Andrew on the forum, he's more active there than here on github. For the last one, there's no doc yet, but there is an example on how to use it here: https://github.com/c-smile/sciter-js-sdk/tree/main/samples.sciter/%40sys/net/Pipe

8ctopus avatar Mar 09 '22 07:03 8ctopus