Skip to content

Commit 947fe40

Browse files
committed
Update/clean code
1 parent e58e772 commit 947fe40

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

julia-runtime/run.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,16 @@ function event_listener(pe::Pluto.FileSaveEvent)
134134
end
135135
end
136136

137+
# function event_listener(pe::Pluto.FileLocalChangeEvent)
138+
# @info "Overriden filesave event for" pe.path
139+
# id = string(pe.notebook.notebook_id)
140+
# oldContent = get(extensionData.textRepresentations, id, "")
141+
# if oldContent != pe.fileContent
142+
# whenNotebookUpdates(pe.path, pe.fileContent)
143+
# extensionData.textRepresentations[id] = pe.fileContent
144+
# end
145+
# end
146+
137147
extensionData.session.event_listener = event_listener
138148
###
139149
@info "OPEN NOTEBOOK"

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { TextDecoder, TextEncoder } from "util"
66
import { v4 as uuid } from "uuid"
77

88
// this is a commit on the vscode-webview-proxy branch, see https://github.com/fonsp/Pluto.jl/pull/1493
9-
export const PLUTO_BRANCH_NAME = "12fc15932cbb6ac3bc83e4d758b590f168d069c9"
9+
export const PLUTO_BRANCH_NAME = "b1ada028a0c8a66de2cab211052681e05ed31203"
1010

1111
/*
1212
HELLO

0 commit comments

Comments
 (0)