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

Unified Diff: chrome/browser/resources/options2/search_engine_manager.js

Issue 9316086: Fix JavaScript errors in options2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new violations found after rebase Created 8 years, 10 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/options2/search_engine_manager.js
diff --git a/chrome/browser/resources/options2/search_engine_manager.js b/chrome/browser/resources/options2/search_engine_manager.js
index 057e09df86a16530e9a462f25c27288b0235b489..3f4dfa7c096f40e4cefb9bbcf8f6c37a3a51a6f1 100644
--- a/chrome/browser/resources/options2/search_engine_manager.js
+++ b/chrome/browser/resources/options2/search_engine_manager.js
@@ -79,9 +79,9 @@ cr.define('options', function() {
otherEngines = otherEngines.map(function(x) {
return [x, x['name'].toLocaleLowerCase()];
- }).sort(function(a,b){
+ }).sort(function(a, b) {
return a[1].localeCompare(b[1]);
- }).map(function(x){
+ }).map(function(x) {
return x[0];
});
« no previous file with comments | « chrome/browser/resources/options2/pref_ui.js ('k') | chrome/browser/resources/options2/search_engine_manager_engine_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698