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

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: Created 8 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/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 57826d89921f09be19974ea73d3a3f5ed2cd6cb1..25bcdf561a1b500a00eb1966afd2cae1f49ab6bb 100644
--- a/chrome/browser/resources/options2/search_engine_manager.js
+++ b/chrome/browser/resources/options2/search_engine_manager.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -75,9 +75,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];
});

Powered by Google App Engine
This is Rietveld 408576698