diff --git a/plugins/c9.ide.metrics/metrics.js b/plugins/c9.ide.metrics/metrics.js index 83f6f527..5123f14b 100644 --- a/plugins/c9.ide.metrics/metrics.js +++ b/plugins/c9.ide.metrics/metrics.js @@ -120,6 +120,11 @@ define(function(require, exports, module) { * @return {Object} */ getLastPing: apiFunction.bind(null, "getLastPing"), + + /** + * Add a hook for ping.complete + */ + onPingComplete: apiFunction.bind(null, "onPingComplete"), }); register(null, { metrics: plugin });