diff options
author | Sonny Piers <sonny@fastmail.net> | 2020-04-04 19:45:44 +0200 |
---|---|---|
committer | Sonny Piers <sonny@fastmail.net> | 2020-04-04 19:45:44 +0200 |
commit | e3f3a90d116da0755384fa275802b8d06f19d14a (patch) | |
tree | 53df596af48a9fc67c7e3143e8dc2390abc71a87 /doc | |
parent | 3d4f09c3e7c24e579f8f6771381675e1ca2de20d (diff) | |
download | gjs-e3f3a90d116da0755384fa275802b8d06f19d14a.tar.gz |
doc: fix spelling of GNOME
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Home.md | 28 | ||||
-rw-r--r-- | doc/Mapping.md | 6 |
2 files changed, 17 insertions, 17 deletions
diff --git a/doc/Home.md b/doc/Home.md index 4d6b814e..2d5df012 100644 --- a/doc/Home.md +++ b/doc/Home.md @@ -1,6 +1,6 @@ -# GJS: Javascript Bindings for Gnome +# GJS: Javascript Bindings for GNOME -The current stable series (1.58.x) is built on Mozilla's SpiderMonkey 60 featuring **ES6 (ECMAScript 2015)** and GObjectIntrospection making most of the **Gnome API library** available. +The current stable series (1.58.x) is built on Mozilla's SpiderMonkey 60 featuring **ES6 (ECMAScript 2015)** and GObjectIntrospection making most of the **GNOME API library** available. To find out when a language feature was implemented in GJS, review [NEWS][gjs-news] in the GitLab repository. In many cases older versions of GJS can be supported using [polyfills][mdn-polyfills] and [legacy-style GJS classes](Modules.md#lang). @@ -9,11 +9,11 @@ GJS includes some built-in modules like Cairo and Gettext, as well as helpers fo [gjs-news]: https://gitlab.gnome.org/GNOME/gjs/raw/master/NEWS [mdn-polyfills]: https://developer.mozilla.org/docs/Glossary/Polyfill -## Gnome API Documentation +## GNOME API Documentation -There is now official [Gnome API Documentation][gjs-docs] for GJS, including everything from GLib and Gtk to Soup and WebKit2. +There is now official [GNOME API Documentation][gjs-docs] for GJS, including everything from GLib and Gtk to Soup and WebKit2. -The [Mapping](Mapping.md) page has an overview of Gnome API usage in GJS such as subclassing, constants and flags, functions with multiple return values, and more. +The [Mapping](Mapping.md) page has an overview of GNOME API usage in GJS such as subclassing, constants and flags, functions with multiple return values, and more. There are also a growing number of [examples][gjs-examples] and thorough tests of language features in the [test suite][gjs-tests]. @@ -25,18 +25,18 @@ There are also a growing number of [examples][gjs-examples] and thorough tests o ## Standalone Applications -It's possible to write standalone applications with GJS for the Gnome Desktop, and infrastructure for Gettext, GSettings and GResources via the `package` import. There is a package specification, template repository available and plans for an in depth tutorial. +It's possible to write standalone applications with GJS for the GNOME Desktop, and infrastructure for Gettext, GSettings and GResources via the `package` import. There is a package specification, template repository available and plans for an in depth tutorial. * [GJS Package Specification](https://wiki.gnome.org/Projects/Gjs/Package/Specification.md) * [GJS Package Template](https://github.com/gcampax/gtk-js-app) -Gnome Applications written in GJS: +GNOME Applications written in GJS: -* [Gnome Characters](https://gitlab.gnome.org/GNOME/gnome-characters) -* [Gnome Documents](https://gitlab.gnome.org/GNOME/gnome-documents) -* [Gnome Maps](https://gitlab.gnome.org/GNOME/gnome-maps) -* [Gnome Sound Recorder](https://gitlab.gnome.org/GNOME/gnome-sound-recorder) -* [Gnome Weather](https://gitlab.gnome.org/GNOME/gnome-weather) +* [GNOME Characters](https://gitlab.gnome.org/GNOME/gnome-characters) +* [GNOME Documents](https://gitlab.gnome.org/GNOME/gnome-documents) +* [GNOME Maps](https://gitlab.gnome.org/GNOME/gnome-maps) +* [GNOME Sound Recorder](https://gitlab.gnome.org/GNOME/gnome-sound-recorder) +* [GNOME Weather](https://gitlab.gnome.org/GNOME/gnome-weather) * [Polari](https://gitlab.gnome.org/GNOME/polari) IRC Client ## Getting Help @@ -49,5 +49,5 @@ Gnome Applications written in GJS: ## External Links * [GObjectIntrospection](https://wiki.gnome.org/action/show/Projects/GObjectIntrospection) -* [Gnome Developer Platform Demo](https://developer.gnome.org/gnome-devel-demos/stable/js.html) (Some older examples that still might be informative) -* [Writing GNOME Shell Extensions](https://wiki.gnome.org/Projects/GnomeShell/Extensions/Writing)
\ No newline at end of file +* [GNOME Developer Platform Demo](https://developer.gnome.org/gnome-devel-demos/stable/js.html) (Some older examples that still might be informative) +* [Writing GNOME Shell Extensions](https://wiki.gnome.org/Projects/GNOMEShell/Extensions/Writing)
\ No newline at end of file diff --git a/doc/Mapping.md b/doc/Mapping.md index d1b08051..b4035f33 100644 --- a/doc/Mapping.md +++ b/doc/Mapping.md @@ -10,7 +10,7 @@ For more information on JavaScript's prototypal inheritance, this [blog post][un ```js let label = new Gtk.Label({ - label: '<a href="https://www.gnome.org">Gnome.org</a>', + label: '<a href="https://www.gnome.org">gnome.org</a>', halign: Gtk.Align.CENTER, hexpand: true, use_markup: true, @@ -177,7 +177,7 @@ var MyLabel = GObject.registerClass({ ## Enumerations and Flags -Both enumerations and flags appear as entries under the namespace, with associated member properties. These are available in the official GJS [Gnome API documentation][gjs-docs]. +Both enumerations and flags appear as entries under the namespace, with associated member properties. These are available in the official GJS [GNOME API documentation][gjs-docs]. ```js // enum GtkAlign, member GTK_ALIGN_CENTER @@ -205,7 +205,7 @@ if (myApp.flags & Gio.ApplicationFlags.HANDLES_OPEN) { ## Structs and Unions -C structures and unions are documented in the [Gnome API documentation][gjs-docs] (e.g. [Gdk.Event][gdk-event]) and generally have either JavaScript properties or getter methods for each member. Results may vary when trying to modify structs or unions. +C structures and unions are documented in the [GNOME API documentation][gjs-docs] (e.g. [Gdk.Event][gdk-event]) and generally have either JavaScript properties or getter methods for each member. Results may vary when trying to modify structs or unions. ```js widget.connect("key-press-event", (widget, event) => { |