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

Unified Diff: ui/webui/resources/js/cr/ui/array_data_model.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 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
Index: ui/webui/resources/js/cr/ui/array_data_model.js
diff --git a/ui/webui/resources/js/cr/ui/array_data_model.js b/ui/webui/resources/js/cr/ui/array_data_model.js
index 8efdb78d02775207498b5ad32d08cd9db18094bf..d5a596e76e03bbd51c7473680b547357a3481e1d 100644
--- a/ui/webui/resources/js/cr/ui/array_data_model.js
+++ b/ui/webui/resources/js/cr/ui/array_data_model.js
@@ -126,7 +126,7 @@ cr.define('cr.ui', function() {
slice: function(opt_from, opt_to) {
var arr = this.array_;
return this.indexes_.slice(opt_from, opt_to).map(function(index) {
- return arr[index]
+ return arr[index];
});
},
@@ -399,7 +399,7 @@ cr.define('cr.ui', function() {
} else {
return function(a, b) {
return defaultValuesCompareFunction.call(null, a[field], b[field]);
- }
+ };
}
},

Powered by Google App Engine
This is Rietveld 408576698