8000 refactor: don't expose CallbacksRegistry as an internal module by miniak · Pull Request #14389 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: don't expose CallbacksRegistry as an internal module #14389

New issue 8000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2018

Conversation

miniak
Copy link
Contributor
@miniak miniak commented Aug 30, 2018
Description of Change

There is no reason to treat CallbacksRegistry as a module. The related ObjectsRegistry is not treated as a module either. It's leaking implementation details as you can access it in apps via electron.CallbacksRegistry.

Checklist
  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines
Release Notes

Notes: no-notes

Copy link
Member
@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

  • while you are at this, I think we can move callback-registry.js into renderer, since its specific to it.

  • Need to fix the require call in api-callbacks-registry-spec.js

@miniak
Copy link
Contributor Author
miniak commented Aug 30, 2018

@deepak1556 will do that

@miniak miniak force-pushed the miniak/callbacks-registry branch from 2ae6d88 to 5ffb96a Compare August 30, 2018 20:51
@miniak miniak force-pushed the miniak/callbacks-registry branch from 5ffb96a to 6c45671 Compare August 30, 2018 20:54
@miniak
Copy link
Contributor Author
miniak commented Aug 30, 2018

@deepak1556 both comments resolved

@miniak
Copy link
Contributor Author
miniak commented Aug 31, 2018

@ckerr, @codebytere can you please merge?

@codebytere codebytere merged commit 3a79eac into master Aug 31, 2018
@release-clerk
Copy link
8000 release-clerk bot commented Aug 31, 2018

No Release Notes

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.

4 participants
0