Hi,
This is just a quick note to let everyone know that I put the GJS Docs site
up on GNOME's OpenShift instance. Philip asked me to put it up on a server
after the old site became unmaintained, and Andrea Veri suggested it would
be easier to host it on GNOME. Thanks to both of them for their assi
Thank you very much for your immediate and fuller answers,
I didn't know that I use version 1.50.?? and even more that uses
SpiderMonkey 52. ( I didn't even know what exactly it is SpiderMonkey -
Sorry ). So the JavaScript code I'm looking for every time should be for
the version of SpiderMonkey t
On Mon, 24 Jun 2019 at 21:15, Tony Houghton wrote:
>
> On Mon, 24 Jun 2019 at 18:56, makepost wrote:
>
>>
>> Regex and MarkupParser from GLib won't work because they don't have
>> constructors compatible with GObject introspection, so only their helper
>> methods such as escape or match_simple a
On Mon, 24 Jun 2019 at 18:56, makepost wrote:
>
> Regex and MarkupParser from GLib won't work because they don't have
> constructors compatible with GObject introspection, so only their helper
> methods such as escape or match_simple are visible to Gjs.
>
Do you mean because they have non-standa
String.prototype.matchAll appears in Firefox at version 67, so it's not
available in stable Gjs 1.50.x that uses SpiderMonkey 52.
I think I'd have written just like you did, and presented the user some
fallback message if tableOfAnnouncementsHTML is null after the match.
You can import npm module
Unfortunately, because I don't have autocomplete, I have been struggling
with the correct/permissible use of the "match" or "matchAll" function.
I repeatedly made the following mistake :
"Javascript JS ERROR: TypeError: mystr.matchAll is not a function"
Eventually I used the global RegExp from Jav