[gjs: 3/3] Merge branch 'esm/dynamic-imports' into 'master'




commit 5702915bdd2265429f392a1c3426709ceccee119
Merge: 126b93e9 81e3d313
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue Feb 9 03:58:29 2021 +0000

    Merge branch 'esm/dynamic-imports' into 'master'
    
    ESM: Enable dynamic imports.
    
    See merge request GNOME/gjs!525

 gjs/context.cpp                          |   9 ++
 gjs/global.cpp                           |   2 +
 gjs/internal.cpp                         | 150 ++++++++++++++++++++++++++
 gjs/module.cpp                           | 177 ++++++++++++++++++++++++++++++-
 gjs/module.h                             |   9 ++
 installed-tests/js/.eslintrc.yml         |   1 +
 installed-tests/js/jsunit.gresources.xml |   2 +
 installed-tests/js/modules/dynamic.js    |  10 ++
 installed-tests/js/modules/say.js        |  10 ++
 installed-tests/js/testESModules.js      |  44 ++++++++
 installed-tests/js/testImporter.js       |  13 +++
 modules/internal/.eslintrc.yml           |   1 +
 modules/internal/loader.js               |  81 ++++++++++++++
 test/gjs-tests.cpp                       |  81 ++++++++++++++
 14 files changed, 588 insertions(+), 2 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]