This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout HEAD~n path/to/file.ext | |
git commit -am "Retrieving file_name.ext from previous commit" | |
git push origin | |
Where n in HEAD~n is the number of previous commits to go back for the file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var width = $('canvas').parent().width(); | |
$('canvas').attr("width",width); | |
new Chart(ctx).Line(data,options); | |
window.onresize = function(event){ | |
var width = $('canvas').parent().width(); | |
$('canvas').attr("width",width); | |
new Chart(ctx).Line(data,options); | |
}; |