I've addressed issues #5 and #6 by adding click listeners to the links that reload unloaded files, and once the markup is loaded the fileDiff button is added.
I've also removed the collapse animation because there's a much bigger performance boost when markup is display: none instead of max-height: 0. I didn't remove any of the previous styling though, so now that styling is sitting there unused.
Also, I didn't run any of the tests because I wasn't able to make nvm work. But I didn't modify the fileDiff or hash files anyway.
I've addressed issues #5 and #6 by adding click listeners to the links that reload unloaded files, and once the markup is loaded the fileDiff button is added.
I've also removed the collapse animation because there's a much bigger performance boost when markup is display: none instead of max-height: 0. I didn't remove any of the previous styling though, so now that styling is sitting there unused.
Also, I didn't run any of the tests because I wasn't able to make nvm work. But I didn't modify the fileDiff or hash files anyway.