Merge branch 'nightly' of github.com:Shuffle/Shuffle into nightly

This commit is contained in:
Aditya
2025-12-09 16:58:17 +05:30
2 changed files with 293 additions and 288 deletions
+1
View File
@@ -32,6 +32,7 @@
"cytoscape-cxtmenu": "^3.4.0", "cytoscape-cxtmenu": "^3.4.0",
"cytoscape-edgehandles": "^3.5.1", "cytoscape-edgehandles": "^3.5.1",
"cytoscape-grid-guide": "~2.3.3", "cytoscape-grid-guide": "~2.3.3",
"cytoscape-layers": "^3.1.0",
"cytoscape-node-html-label": "^1.2.2", "cytoscape-node-html-label": "^1.2.2",
"cytoscape-panzoom": "^2.5.3", "cytoscape-panzoom": "^2.5.3",
"cytoscape-undo-redo": "^1.3.3", "cytoscape-undo-redo": "^1.3.3",
@@ -972,7 +972,11 @@ const CodeEditor = (props) => {
// Resolve the child paths/variables first, // Resolve the child paths/variables first,
// So that "$a.b.c" is handled before "$a.b" and then "$a" // So that "$a.b.c" is handled before "$a.b" and then "$a"
// Replace "$parent.child" before "$parent" so "$parent.child" doesn't become "parentValue.child" (which can't be matched later). // Replace "$parent.child" before "$parent" so "$parent.child" doesn't become "parentValue.child" (which can't be matched later).
found.sort((a, b) => b.length - a.length) console.log("FOUND PROD BEFORE SORT:", found)
found.sort((a, b) => {
return Number(b.length) - Number(a.length)
})
console.log("FOUND PROD AFTER SORT:", found)
//console.log("FOUND: ", found) //console.log("FOUND: ", found)
try { try {