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

Refactors code. State is now reflected via icon (color/greyscale) and title (number of web components). #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lrsjng
Copy link

@lrsjng lrsjng commented Jul 4, 2014

Actually I wanted to add the greyscale icon. Now the code is completely refactored.
The background script is reduced to communicated with the pageAction icon.
The content script is set up to be extendable. Styles are applied via classes and can
be switched on/off by setting one trigger class to the html element.

… title (number of web components).

Actually I wanted to add the greyscale icon. Now the code is completely refactored.
The background script is reduced to communicated with the pageAction icon.
The content script is set up to be extendable. Styles are applied via classes and can
be switched on/off by setting one trigger class to the html element.
@lrsjng
Copy link
Author

lrsjng commented Jul 4, 2014

Wasn't meant to be that much change when I forked, feel free to reject if it is too much..

@zenorocha
Copy link
Member

Hey @lrsjng, that's a big rewrite.

I like the idea of the greyscale icon and applying the styles via classes, although I didn't want to do that in the first place because of an extra HTTP request.

If you could separate what matters into small commits that would be much easier to review.

@lrsjng
Copy link
Author

lrsjng commented Jul 5, 2014

@zenorocha I'm afraid breaking it down into smaller patches won't be possible. There are no incremental steps to update this. background.js and content.js are completely redesigned :/

@zenorocha zenorocha self-assigned this Dec 1, 2014
@zenorocha zenorocha removed their assignment May 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants