update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
2
toml.cm
2
toml.cm
@@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user