(name, msg)
| 15035 | var deprecations = {}; |
| 15036 | |
| 15037 | function deprecateSimple(name, msg) { |
| 15038 | if (hooks.deprecationHandler != null) { |
| 15039 | hooks.deprecationHandler(name, msg); |
| 15040 | } |
| 15041 | if (!deprecations[name]) { |
| 15042 | warn(msg); |
| 15043 | deprecations[name] = true; |
| 15044 | } |
| 15045 | } |
| 15046 | |
| 15047 | hooks.suppressDeprecationWarnings = false; |
| 15048 | hooks.deprecationHandler = null; |
no test coverage detected