Skip to content

Commit 057700e

Browse files
committed
delete main.js
1 parent 82b8395 commit 057700e

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

main.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"author": "leonhma",
77
"authorUrl": "https://github.com/leonhma",
88
"isDesktopOnly": false,
9-
"version": "1.0.0"
10-
}
9+
"version": "1.0.1"
10+
}

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class ObsidianFunctionPlot extends Plugin {
3131
el.classList.add('functionplot')
3232
// parse yaml for bounds and functions to plot
3333
const header = (source.match(/-{3,}([^]+)-{3,}/) || [null, null])[1]
34-
34+
console.log(header)
3535
const functions = (header ? source.substring(header.length) : source)
3636
.split('\n')
3737
.map(line => line.trim())
@@ -43,7 +43,7 @@ export default class ObsidianFunctionPlot extends Plugin {
4343
parseYaml(header || '')
4444
)
4545

46-
// prepare options for call to FunctionPlot
46+
// prepare options for call to FunctionPlotya
4747
const fPlotOptions: FunctionPlotOptions = {
4848
target: el as unknown as string, // weird workaround
4949
title: config.title,

0 commit comments

Comments
 (0)