Skip to content

Fix issues with reloadPatchers#25

Open
mrudat wants to merge 2 commits intoz-edit:masterfrom
mrudat:patch-3
Open

Fix issues with reloadPatchers#25
mrudat wants to merge 2 commits intoz-edit:masterfrom
mrudat:patch-3

Conversation

@mrudat
Copy link
Copy Markdown

@mrudat mrudat commented Jun 11, 2020

Fixes #13

Adds a new function that resets the tabs array to contain the patcher tab when reloadPatchers happens, rather than starting from an empty list.

ngapp.run(function($rootScope, patcherService) {
let upfLoader = function({module, fh, moduleService}) {
// save the path for if we need to reload later.
module.info.path = module.path;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm uncertain if this is the Right Way, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix issues with reload patchers

1 participant