Skip to content
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

Fix file summary switch #58

Merged
merged 1 commit into from
Feb 7, 2016
Merged

Fix file summary switch #58

merged 1 commit into from
Feb 7, 2016

Conversation

rtfpessoa
Copy link
Owner

Fixes #55

To perform this fix I decided to start diff2html-ui js module to simplify the html dynamic changes highlight or animations.

This is still a very simple idea and the code is very basic.

Not sure if I should use jQuery for this or just plain js like I did. Any suggestions?

}

Diff2HtmlUI.prototype.draw = function(targetId, config) {
var that = this;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think var that = this; is necessary here because there are no scope changes in the method.

@pbu88
Copy link
Contributor

pbu88 commented Feb 7, 2016

Looks good. If everything can be accomplish without jQuery maybe is not worth it to include it, but I don't see any harm to include it using a CDN.

@rtfpessoa rtfpessoa force-pushed the fix-file-summary-switch branch 2 times, most recently from 9309400 to e656e93 Compare February 7, 2016 14:02
Introduce diff2html-ui to perform any ui anymations or dynamic changes
like hightlight or animations.
rtfpessoa added a commit that referenced this pull request Feb 7, 2016
@rtfpessoa rtfpessoa merged commit 59914f1 into master Feb 7, 2016
@rtfpessoa rtfpessoa deleted the fix-file-summary-switch branch February 7, 2016 14:27
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.

hide/show summary button sets wrong url
2 participants