scripts/extractPoiTypesFromID: Use ES6 modules
Marcus Lundblad
1 year, 10 months ago
0 | |
#!/usr/bin/env gjs
|
|
0 |
#!/usr/bin/env -S gjs -m
|
1 | 1 |
|
2 | 2 |
/* -*- Mode: JS2; indent-tabs-mode: nil; js2-basic-offset: 4 -*- */
|
3 | 3 |
/* vim: set et ts=4 sw=4: */
|
|
28 | 28 |
*
|
29 | 29 |
*/
|
30 | 30 |
|
31 | |
const Gio = imports.gi.Gio;
|
|
31 |
import Gio from 'gi://Gio';
|
32 | 32 |
|
33 | 33 |
const ByteArray = imports.byteArray;
|
34 | 34 |
|