File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -128,19 +128,19 @@ function event_listener(pe::Pluto.FileSaveEvent)
128128 @info " Overriden filesave event for" pe. path
129129 id = string (pe. notebook. notebook_id)
130130 oldContent = get (extensionData. textRepresentations, id, " " )
131- if oldContent != pe. fileContent
132- whenNotebookUpdates (pe. path, pe. fileContent )
133- extensionData. textRepresentations[id] = pe. fileContent
131+ if oldContent != pe. file_contents
132+ whenNotebookUpdates (pe. path, pe. file_contents )
133+ extensionData. textRepresentations[id] = pe. file_contents
134134 end
135135end
136136
137137# function event_listener(pe::Pluto.FileLocalChangeEvent)
138138# @info "Overriden filesave event for" pe.path
139139# id = string(pe.notebook.notebook_id)
140140# oldContent = get(extensionData.textRepresentations, id, "")
141- # if oldContent != pe.fileContent
142- # whenNotebookUpdates(pe.path, pe.fileContent )
143- # extensionData.textRepresentations[id] = pe.fileContent
141+ # if oldContent != pe.file_contents
142+ # whenNotebookUpdates(pe.path, pe.file_contents )
143+ # extensionData.textRepresentations[id] = pe.file_contents
144144# end
145145# end
146146
You can’t perform that action at this time.
0 commit comments