New issue

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

GM_addStyle now returns the added element #1892

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@argonel
Copy link
Contributor

argonel commented Mar 15, 2014

When GM_addStyle was added to the sandbox, it was wrapped in such a way as to discard the element returned by the GM_addStyle implementation. This patch converts the wrapper to a standard GM_util.hitch. This will save folks from having to resort to more complicated methods to find the added stylesheet.

@arantius arantius added this to the 1.16 milestone Mar 21, 2014

@arantius

This comment has been minimized.

Copy link
Collaborator

arantius commented Mar 21, 2014

Thanks. Submit a pull request to add yourself to the contributors list in install.rdf.

@arantius

This comment has been minimized.

Copy link
Collaborator

arantius commented Mar 21, 2014

Cherry picked.

@arantius arantius closed this Mar 21, 2014

@argonel argonel deleted the argonel:addstyle branch Mar 21, 2014

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