Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Bug 958908 - Remove usage of deprecated/observer-service #1343

Merged
merged 2 commits into from Jan 14, 2014
Merged

Bug 958908 - Remove usage of deprecated/observer-service #1343

merged 2 commits into from Jan 14, 2014

Conversation

erikvold
Copy link
Contributor

No description provided.

const core = require("./core");
const { id: jetpackId} = require('../self');

const OPTIONS_DISPLAYED = "addon-options-displayed";

function onOptionsDisplayed(document, addonId) {
function onOptionsDisplayed({ subjec: documentt, data: addonId }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks confusing; shouldn't it be {subject: document,, even if it's not used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops

@jsantell
Copy link
Contributor

You removed sdk/window/utils#backgroundify, which I don't know if that's being used out in the wild (probably not, never knew about it previously). Maybe should be in a different PR for cleanliness. Not a huge deal, though

@jsantell
Copy link
Contributor

Should also remove the sdk/deprecated/observer-service and test-observer-service in this PR as well, as it's already been in /deprecated for atleast a year now

@erikvold
Copy link
Contributor Author

You removed sdk/window/utils#backgroundify, which I don't know if that's being used out in the wild (probably not, never knew about it previously). Maybe should be in a different PR for cleanliness. Not a huge deal, though

looks like @Gozala is ok with this https://bugzilla.mozilla.org/show_bug.cgi?id=943155#c2

@erikvold
Copy link
Contributor Author

Should also remove the sdk/deprecated/observer-service and test-observer-service in this PR as well, as it's already been in /deprecated for atleast a year now

that'll break some stuff, like the addon-pathfinder, but w/e.

@jsantell
Copy link
Contributor

Ya, not sure about leaving it in there or what, but we should remove these things at some point, rather than people using them for new things and having to refactor whenever we do get rid of them

erikvold added a commit that referenced this pull request Jan 14, 2014
Bug 958908 - Remove usage of deprecated/observer-service r=@jsantell
@erikvold erikvold merged commit abf04cd into mozilla:master Jan 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants