This commit is contained in:
2026-01-08 09:10:47 -06:00
parent 3a3e77eccd
commit ef94b55058
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ function use_core(path) {
if (use_cache[cache_key]) if (use_cache[cache_key])
return use_cache[cache_key]; return use_cache[cache_key];
var sym = use_embed(path.replace('/','_')) var sym = use_embed(path.replaceAll('/','_'))
// Core scripts are in packages/core/ // Core scripts are in packages/core/
var file_path = core_path + '/' + path + MOD_EXT var file_path = core_path + '/' + path + MOD_EXT

View File

@@ -608,7 +608,7 @@ Shop.open_package_dylib = function(pkg) {
// If no package context, only check core internal symbols // If no package context, only check core internal symbols
if (!package_context || package_context == 'core') { if (!package_context || package_context == 'core') {
path = path.replace('/', '_') path = path.replaceAll('/', '_')
var core_sym = `js_${path}_use` var core_sym = `js_${path}_use`
if (os.internal_exists(core_sym)) { if (os.internal_exists(core_sym)) {
return { return {

View File

@@ -195,7 +195,7 @@ function encode_toml(obj) {
for (var j = 0; j < section_keys.length; j++) { for (var j = 0; j < section_keys.length; j++) {
var sk = section_keys[j] var sk = section_keys[j]
var sv = value[sk] var sv = value[sk]
if (!isa(sv, object)) { if (!is_object(sv)) {
result.push(quote_key(sk) + ' = ' + encode_value(sv)) result.push(quote_key(sk) + ' = ' + encode_value(sv))
} }
} }