更新 'SrcJyDrpy.js'

master
src48597962 8 months ago
parent f2bea4aa05
commit cdc9f2e0f3
  1. 4
      SrcJyDrpy.js

@ -82,7 +82,7 @@ let drpyEnvS = globalMap0.getVar('drpyEnvS',{});
let nextEnvId = 0; let nextEnvId = 0;
function createOrGetEnvironment(id, ext) { function createOrGetEnvironment(id, ext) {
log(Object.keys(drpyEnvS).length);
if (id === undefined) { if (id === undefined) {
id = nextEnvId++; id = nextEnvId++;
} }
@ -107,7 +107,7 @@ function createOrGetEnvironment(id, ext) {
globalMap0.putVar('drpyEnvS', drpyEnvS); globalMap0.putVar('drpyEnvS', drpyEnvS);
return drpyEnvS[id]; return drpyEnvS[id];
} }
console.log(Object.keys(drpyEnvS).length);
$.exports = { $.exports = {
createOrGetEnvironment createOrGetEnvironment
} }

Loading…
Cancel
Save