Add comment explaining 1.02 factor

This commit is contained in:
Thomas Kluyver 2014-10-14 15:44:23 -07:00
parent 52be8bdf6b
commit d352d52bd8

View File

@ -18,6 +18,7 @@ require([
page = new page.Page();
// Test size: 25x80
var termRowHeight = function(){ return 1.00 * $("#dummy-screen")[0].offsetHeight / 25;};
// 1.02 here arrived at by trial and error to make the spacing look right
var termColWidth = function() { return 1.02 * $("#dummy-screen-rows")[0].offsetWidth / 80;};
var base_url = utils.get_body_data('baseUrl');