##// END OF EJS Templates
Add comment explaining 1.02 factor
Thomas Kluyver -
Show More
@@ -18,6 +18,7 require([
18 page = new page.Page();
18 page = new page.Page();
19 // Test size: 25x80
19 // Test size: 25x80
20 var termRowHeight = function(){ return 1.00 * $("#dummy-screen")[0].offsetHeight / 25;};
20 var termRowHeight = function(){ return 1.00 * $("#dummy-screen")[0].offsetHeight / 25;};
21 // 1.02 here arrived at by trial and error to make the spacing look right
21 var termColWidth = function() { return 1.02 * $("#dummy-screen-rows")[0].offsetWidth / 80;};
22 var termColWidth = function() { return 1.02 * $("#dummy-screen-rows")[0].offsetWidth / 80;};
22
23
23 var base_url = utils.get_body_data('baseUrl');
24 var base_url = utils.get_body_data('baseUrl');
General Comments 0
You need to be logged in to leave comments. Login now