Files
puter/extensions/imports_something.js
KernelDeimos e271476e0b tweak: alias 'runtime' to 'extension'
Extension developers should not have to remember what comes form
where between two different globals. This change makes Extension
effectively a facade (Facade Pattern) containing the behaviors
of both extensions and runtime modules.
2025-09-26 15:27:57 -04:00

4 lines
120 B
JavaScript

console.log('importing something...');
const { testval } = extension.import('exports_something');
console.log(testval);