| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /** | 5 /** |
| 6 * Helper utility functions for manipulating the element classes. | 6 * Helper utility functions for manipulating the element classes. |
| 7 */ | 7 */ |
| 8 var ClassUtil = {}; | 8 var ClassUtil = {}; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 } | 38 } |
| 39 found = i; | 39 found = i; |
| 40 } else { | 40 } else { |
| 41 item.className = className; | 41 item.className = className; |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 if (!found) { | 44 if (!found) { |
| 45 fail("Found 0 time"); | 45 fail("Found 0 time"); |
| 46 } | 46 } |
| 47 }; | 47 }; |
| OLD | NEW |