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

Unified Diff: chrome/common/extensions/docs/examples/api/tabs/zoom/popup.js

Issue 1093603002: Change JS parameter to camel case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 5 years, 8 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 | « chrome/common/extensions/api/tabs.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/api/tabs/zoom/popup.js
diff --git a/chrome/common/extensions/docs/examples/api/tabs/zoom/popup.js b/chrome/common/extensions/docs/examples/api/tabs/zoom/popup.js
index d96bc74eff11af9bdf735262d510db85f725a784..c680d5d6ce1d478aa4abcfbb300b795cddfc6545 100644
--- a/chrome/common/extensions/docs/examples/api/tabs/zoom/popup.js
+++ b/chrome/common/extensions/docs/examples/api/tabs/zoom/popup.js
@@ -51,7 +51,7 @@ document.addEventListener('DOMContentLoaded', function() {
}
var percentDefaultZoom =
- parseFloat(zoomSettings.default_zoom_factor) * 100;
+ parseFloat(zoomSettings.defaultZoomFactor) * 100;
document.getElementById('defaultLabel').textContent =
'Default: ' + percentDefaultZoom.toFixed(1) + '%';
});
« no previous file with comments | « chrome/common/extensions/api/tabs.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698