Skip to content

Commit

Permalink
Move function
Browse files Browse the repository at this point in the history
  • Loading branch information
joethephish committed Jun 16, 2022
1 parent 3d1a2ec commit af81456
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/renderer/navView.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ function toggle(id){
$footer.addClass("hidden");
}


// Helper function that gets all the external function names from a list of InkFiles
function getExternals(file) {
return file.symbols.getCachedExternals();
}

exports.NavView = {
setMainInkFilename: setMainInkFilename,
setFiles: setFiles,
Expand All @@ -383,8 +389,3 @@ exports.NavView = {
showAddIncludeForm: () => setIncludeFormVisible(true)
}


// Helper function that gets all the external function names from a list of InkFiles
function getExternals(file) {
return file.symbols.getCachedExternals();
}

0 comments on commit af81456

Please sign in to comment.