mirror of
https://github.com/cosmicoptima/loom.git
synced 2026-07-22 07:40:25 +00:00
this is a wild guess
This commit is contained in:
parent
a6341f64b5
commit
aadf65783f
4 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "loom",
|
"id": "loom",
|
||||||
"name": "Loom",
|
"name": "Loom",
|
||||||
"version": "1.21.0",
|
"version": "1.21.1",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "Loom in Obsidian",
|
"description": "Loom in Obsidian",
|
||||||
"author": "celeste",
|
"author": "celeste",
|
||||||
|
|
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "obsidian-loom",
|
"name": "obsidian-loom",
|
||||||
"version": "1.20.7",
|
"version": "1.21.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "obsidian-loom",
|
"name": "obsidian-loom",
|
||||||
"version": "1.20.7",
|
"version": "1.21.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anthropic-ai/sdk": "^0.20.0",
|
"@anthropic-ai/sdk": "^0.20.0",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "obsidian-loom",
|
"name": "obsidian-loom",
|
||||||
"version": "1.21.0",
|
"version": "1.21.1",
|
||||||
"description": "Loom in Obsidian",
|
"description": "Loom in Obsidian",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
2
views.ts
2
views.ts
|
|
@ -751,7 +751,7 @@ export const loomEditorPluginSpec: PluginSpec<LoomEditorPlugin> = {
|
||||||
// the second last element, since the last is `loom__editor-node-hover`
|
// the second last element, since the last is `loom__editor-node-hover`
|
||||||
const className = target.classList[target.classList.length - 2];
|
const className = target.classList[target.classList.length - 2];
|
||||||
const id = className.split("-").slice(2).join("-");
|
const id = className.split("-").slice(2).join("-");
|
||||||
app.workspace.trigger("loom:switch-to", id);
|
this.app.workspace.trigger("loom:switch-to", id);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue