| 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 var createClassWrapper = requireNative('utils').createClassWrapper; | 5 var createClassWrapper = requireNative('utils_natives').createClassWrapper; |
| 6 var schemaRegistry = requireNative('schema_registry'); | 6 var schemaRegistry = requireNative('schema_registry'); |
| 7 var CHECK = requireNative('logging').CHECK; | 7 var CHECK = requireNative('logging').CHECK; |
| 8 var WARNING = requireNative('logging').WARNING; | 8 var WARNING = requireNative('logging').WARNING; |
| 9 | 9 |
| 10 /** | 10 /** |
| 11 * An object forEach. Calls |f| with each (key, value) pair of |obj|, using | 11 * An object forEach. Calls |f| with each (key, value) pair of |obj|, using |
| 12 * |self| as the target. | 12 * |self| as the target. |
| 13 * @param {Object} obj The object to iterate over. | 13 * @param {Object} obj The object to iterate over. |
| 14 * @param {function} f The function to call in each iteration. | 14 * @param {function} f The function to call in each iteration. |
| 15 * @param {Object} self The object to use as |this| in each function call. | 15 * @param {Object} self The object to use as |this| in each function call. |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 }); | 121 }); |
| 122 } | 122 } |
| 123 | 123 |
| 124 return publicClass; | 124 return publicClass; |
| 125 } | 125 } |
| 126 | 126 |
| 127 exports.forEach = forEach; | 127 exports.forEach = forEach; |
| 128 exports.loadTypeSchema = loadTypeSchema; | 128 exports.loadTypeSchema = loadTypeSchema; |
| 129 exports.lookup = lookup; | 129 exports.lookup = lookup; |
| 130 exports.expose = expose; | 130 exports.expose = expose; |
| OLD | NEW |