Skip to content

pluginfw: Improve rendering of hook list#4913

Merged
JohnMcLear merged 2 commits intodevelopfrom
rhansen-format-hooks
Mar 3, 2021
Merged

pluginfw: Improve rendering of hook list#4913
JohnMcLear merged 2 commits intodevelopfrom
rhansen-format-hooks

Conversation

@rhansen
Copy link
Copy Markdown
Member

@rhansen rhansen commented Mar 3, 2021

There are two main benefits:

  • HTML is no longer printed in the startup debug logs.
  • require() is no longer called on client-side files. This eliminates "Failed to load <file> for <plugin>: ReferenceError: window is not defined" errors when users visit /admin/plugins/info.

Fixes #3245.

rhansen added 2 commits March 3, 2021 03:20
There are two main benefits:
  * HTML is no longer printed in the startup debug logs.
  * `require()` is no longer called on client-side files. This
    eliminates "Failed to load <file> for <plugin>: ReferenceError:
    window is not defined" errors when users visit
    `/admin/plugins/info`.
@JohnMcLear JohnMcLear merged commit 0aad3b7 into develop Mar 3, 2021
@JohnMcLear JohnMcLear deleted the rhansen-format-hooks branch March 3, 2021 11:19
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.

ReferenceError: window is not defined

2 participants