| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 (function() { | 5 (function() { |
| 6 | 6 |
| 7 'use strict'; | 7 'use strict'; |
| 8 | 8 |
| 9 module('l10n', { | 9 module('l10n', { |
| 10 setup: function() { | 10 setup: function() { |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 .withArgs('tag', ['param1', 'param2']) | 102 .withArgs('tag', ['param1', 'param2']) |
| 103 .returns('localized'); | 103 .returns('localized'); |
| 104 | 104 |
| 105 l10n.localize(); | 105 l10n.localize(); |
| 106 | 106 |
| 107 var target = document.querySelector('.target'); | 107 var target = document.querySelector('.target'); |
| 108 equal(target.innerText, 'localized'); | 108 equal(target.innerText, 'localized'); |
| 109 }); | 109 }); |
| 110 | 110 |
| 111 })(); | 111 })(); |
| OLD | NEW |