pathchain 1.1.34 → 1.1.36
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/getter.js +3 -3
- package/package.json +1 -1
package/getter.js
CHANGED
|
@@ -290,11 +290,11 @@ function getPathchainObj(xpath, xauthor = '') {
|
|
|
290
290
|
const current_obj = this.getObj(current_link.target);
|
|
291
291
|
console.log("Pushing object: ", current_obj);
|
|
292
292
|
obj_list.push(current_obj);
|
|
293
|
-
current_link = current_link.prev;
|
|
293
|
+
current_link = this.getObj(current_link.prev);
|
|
294
294
|
}
|
|
295
|
-
console.log("Pushing last element (current link target): ", current_link);
|
|
295
|
+
console.log("Pushing last element (current link target): ", current_link.target);
|
|
296
296
|
var current_link_target_obj = this.getObj(current_link.target);
|
|
297
|
-
console.log(" Curent link target: ", current_link_target_obj);
|
|
297
|
+
console.log(" Curent link target object: ", current_link_target_obj);
|
|
298
298
|
obj_list.push(current_link_target_obj);
|
|
299
299
|
|
|
300
300
|
return obj_list;
|
package/package.json
CHANGED