GNOME Bugzilla – Bug 770055
Javascript snippets
Last modified: 2016-08-28 18:31:45 UTC
Here are some snippets for GJS development.
Created attachment 333530 [details] [review] snippets: Add decapitalize filter Works like the capitalize filter, but makes the first character lowercase. Used, for example, for finding the name of JS module files: const Lang = imports.lang;
Created attachment 333531 [details] [review] snippets: Add GJS snippets - A shebang snippet to go with the corresponding ones in other languages - Some snippets for imports of GJS, GI, and local modules - Snippets for pure JS and GObject-derived classes - Snippets for GObject properties and signals in GObject classes
Looks good, thanks! Attachment 333530 [details] pushed as 98da018 - snippets: Add decapitalize filter Attachment 333531 [details] pushed as 1979e97 - snippets: Add GJS snippets