... | ... | @@ -8,12 +8,15 @@ If you use it, especially for GNOME-related projects, please follow the [Style G |
|
|
|
|
|
Documentation for Gnome APIs (GLib, GObject, Gtk, etc) is currently hosted at https://devdocs.baznga.org/.
|
|
|
|
|
|
There are also a growing number of usage examples in the GitLab repository under [examples/](https://gitlab.gnome.org/GNOME/gjs/tree/master/examples) and thorough tests of language features in the [test suite][gjs-tests].
|
|
|
There are also a growing number of usage examples in the GitLab repository under [examples/][gjs-examples] and thorough tests of language features in the [test suite][gjs-tests].
|
|
|
|
|
|
GJS 1.50 is based on Mozilla's SpiderMonkey 52 and ES6 support (AKA ECMAScript 2015) is nearly complete, while still including support for "legacy" style GJS classes.
|
|
|
|
|
|
If you are curious when a language feature landed or targeting a range of GJS versions, review [NEWS](https://gitlab.gnome.org/GNOME/gjs/raw/master/NEWS) in the GitLab repository. In many cases you can support older versions of GJS using [polyfills](https://developer.mozilla.org/docs/Glossary/Polyfill) and legacy-style classes.
|
|
|
|
|
|
[gjs-examples]: https://gitlab.gnome.org/GNOME/gjs/tree/master/examples
|
|
|
[gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/master/installed-tests/js
|
|
|
|
|
|
### Mapping
|
|
|
|
|
|
Please see the [Mapping](Mapping) page for details and examples of mapping GLib function and constant names to GJS.
|
... | ... | |