Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: components/dom_distiller/core/javascript/dom_distiller_viewer.js

Issue 1148083003: Remove uses of const in distiller javascript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/javascript/dom_distiller_viewer.js
diff --git a/components/dom_distiller/core/javascript/dom_distiller_viewer.js b/components/dom_distiller/core/javascript/dom_distiller_viewer.js
index 4122dc7c0de0bc04ebe78409fb955ea4c784f028..4a80bba65d38d28c1aba4551d05cf11e7e575149 100644
--- a/components/dom_distiller/core/javascript/dom_distiller_viewer.js
+++ b/components/dom_distiller/core/javascript/dom_distiller_viewer.js
@@ -204,8 +204,8 @@ var pincher = (function() {
var shiftY;
// The zooming speed relative to pinching speed.
- const FONT_SCALE_MULTIPLIER = 0.5;
- const MIN_SPAN_LENGTH = 20;
+ var FONT_SCALE_MULTIPLIER = 0.5;
+ var MIN_SPAN_LENGTH = 20;
// The font size is guaranteed to be in px.
var baseSize =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698