Chromium Code Reviews| Index: chrome/browser/resources/options2/certificate_tree.js |
| diff --git a/chrome/browser/resources/options2/certificate_tree.js b/chrome/browser/resources/options2/certificate_tree.js |
| index ee5d0755879578c339339bb7acd09f06be1df017..5be6e117ca9981926675c07ac558188c0d86181f 100644 |
| --- a/chrome/browser/resources/options2/certificate_tree.js |
| +++ b/chrome/browser/resources/options2/certificate_tree.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. |
| @@ -27,7 +27,7 @@ cr.define('options', function() { |
| if (data.untrusted) { |
| var badge = document.createElement('span'); |
| badge.setAttribute('class', 'certUntrusted'); |
| - badge.textContent = localStrings.getString("badgeCertUntrusted"); |
| + badge.textContent = localStrings.getString('badgeCertUntrusted'); |
| treeItem.labelElement.insertBefore( |
| badge, treeItem.labelElement.firstChild); |
| } |
| @@ -89,7 +89,7 @@ cr.define('options', function() { |
| clear: function() { |
| // Remove all fields without recreating the object since other code |
| // references it. |
| - for (var id in this.treeLookup_){ |
| + for (var id in this.treeLookup_) { |
| delete this.treeLookup_[id]; |
|
James Hawkins
2012/02/09 02:51:52
This should be no-braces.
Tyler Breisacher (Chromium)
2012/02/09 03:04:34
Done.
|
| } |
| this.textContent = ''; |