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

Unified Diff: chrome/browser/resources/settings/internet_page/network_summary_item.js

Issue 2651483002: MD Settings: Eliminate use of ES6 for Chrome OS (Closed)
Patch Set: Feedback Created 3 years, 11 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
Index: chrome/browser/resources/settings/internet_page/network_summary_item.js
diff --git a/chrome/browser/resources/settings/internet_page/network_summary_item.js b/chrome/browser/resources/settings/internet_page/network_summary_item.js
index 4b6ff90a3f6efad907c1d59779e27196ee3f76ea..22662ba8e6d18dfa71d437be12eccf4a16d1cc2a 100644
--- a/chrome/browser/resources/settings/internet_page/network_summary_item.js
+++ b/chrome/browser/resources/settings/internet_page/network_summary_item.js
@@ -104,7 +104,7 @@ Polymer({
* @private
*/
showSimInfo_: function() {
- let device = this.deviceState;
+ var device = this.deviceState;
if (device.Type != CrOnc.Type.CELLULAR ||
this.deviceIsEnabled_(this.deviceState)) {
return false;
@@ -201,7 +201,7 @@ Polymer({
expandIsVisible_: function() {
if (!this.deviceIsEnabled_(this.deviceState))
return false;
- let type = this.deviceState.Type;
+ var type = this.deviceState.Type;
var minLength =
(type == CrOnc.Type.WI_FI || type == CrOnc.Type.VPN) ? 1 : 2;
return this.networkStateList.length >= minLength;

Powered by Google App Engine
This is Rietveld 408576698