mirror of
https://github.com/dwolfe884/obsidian-x86-flow-graph.git
synced 2026-07-22 07:30:26 +00:00
added a trim and updated version info
This commit is contained in:
parent
d6bfbc4343
commit
d506060b44
4 changed files with 4 additions and 4 deletions
1
main.js
1
main.js
|
|
@ -163,6 +163,7 @@ function MakeNodeFromLineToNextJump(linenum, text, fromnode2, edgelabel) {
|
|||
currnode = currnode + line + "\n";
|
||||
}
|
||||
} else {
|
||||
line = line.trim();
|
||||
if (line[line.length - 1] == ":") {
|
||||
line = line.slice(0, line.length - 1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "obsidian-x86-flow",
|
||||
"name": "X86 Flow Graphing",
|
||||
"version": "1.2.0",
|
||||
"version": "1.0.0",
|
||||
"minAppVersion": "1.1.0",
|
||||
"description": "An Obsidian plugin for converting x86 code blocks into flow graphs",
|
||||
"author": "icebear",
|
||||
|
|
|
|||
|
|
@ -181,6 +181,7 @@ function MakeNodeFromLineToNextJump(linenum: any, text: any, fromnode: any, edge
|
|||
}
|
||||
//Else, we're handling a location
|
||||
else{
|
||||
line = line.trim()
|
||||
//Remove ":" if at the end of location
|
||||
if(line[line.length-1] == ":"){
|
||||
line = line.slice(0,line.length-1)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
{
|
||||
"1.0.0": "0.15.0",
|
||||
"1.0.1": "0.15.0",
|
||||
"1.0.2": "0.15.0"
|
||||
"1.0.0": "1.1.0"
|
||||
}
|
||||
Loading…
Reference in a new issue