| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO(arv): Namespace | 5 // TODO(arv): Namespace |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The local strings get injected into the page usig a variable named | 8 * The local strings get injected into the page using a variable named |
| 9 * {@code templateData}. This class provides a simpler interface to access those | 9 * {@code templateData}. This class provides a simpler interface to access those |
| 10 * strings. | 10 * strings. |
| 11 * @constructor | 11 * @constructor |
| 12 */ | 12 */ |
| 13 function LocalStrings() { | 13 function LocalStrings() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 // Start of anonymous namespace. | 16 // Start of anonymous namespace. |
| 17 (function() { | 17 (function() { |
| 18 | 18 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 * @param {...string} The extra values to include in the formatted output. | 85 * @param {...string} The extra values to include in the formatted output. |
| 86 * @return {string} The formatted string. | 86 * @return {string} The formatted string. |
| 87 */ | 87 */ |
| 88 getStringWithoutAcceleratorF: function(id, var_args) { | 88 getStringWithoutAcceleratorF: function(id, var_args) { |
| 89 return replaceArgs(this.getStringWithoutAccelerator(id), arguments); | 89 return replaceArgs(this.getStringWithoutAccelerator(id), arguments); |
| 90 } | 90 } |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 // End of anonymous namespace. | 93 // End of anonymous namespace. |
| 94 })(); | 94 })(); |
| OLD | NEW |