@xuda.io/xuda-worker-bundle 1.3.2443 → 1.3.2444
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +14 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4354,18 +4354,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
|
|
|
4354
4354
|
var obj = _.clone(_session.DS_GLB[DS]);
|
|
4355
4355
|
|
|
4356
4356
|
delete obj.screen_params;
|
|
4357
|
-
delete obj.old_dataSource;
|
|
4358
4357
|
|
|
4359
|
-
//
|
|
4360
|
-
//
|
|
4361
|
-
// }
|
|
4362
|
-
try {
|
|
4363
|
-
clean_object_functions(obj);
|
|
4358
|
+
// try {
|
|
4359
|
+
// clean_object_functions(obj);
|
|
4364
4360
|
|
|
4365
|
-
|
|
4366
|
-
} catch (e) {
|
|
4367
|
-
|
|
4368
|
-
}
|
|
4361
|
+
// obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
|
|
4362
|
+
// } catch (e) {
|
|
4363
|
+
// console.error(e);
|
|
4364
|
+
// }
|
|
4369
4365
|
|
|
4370
4366
|
delete obj.pre_init_fields;
|
|
4371
4367
|
delete obj.oninit_triggers_to_run;
|
|
@@ -4395,6 +4391,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
|
|
|
4395
4391
|
|
|
4396
4392
|
delete obj.v;
|
|
4397
4393
|
clean_empty_objects();
|
|
4394
|
+
|
|
4395
|
+
try {
|
|
4396
|
+
clean_object_functions(obj);
|
|
4397
|
+
|
|
4398
|
+
obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
|
|
4399
|
+
} catch (e) {
|
|
4400
|
+
console.error(e);
|
|
4401
|
+
}
|
|
4398
4402
|
// clean_dataset();
|
|
4399
4403
|
return obj;
|
|
4400
4404
|
};
|