realtime-input.js : callback onInit if exists

pull/1/head
ansuz 9 years ago
parent 61fbf81dcd
commit 019750bea8

@ -179,6 +179,11 @@ define([
transformFunction: config.transformFunction transformFunction: config.transformFunction
}); });
config.onInit && config.onInit({
realtime: realtime
});
onEvent = function () { onEvent = function () {
if (isErrorState || initializing) { return; } if (isErrorState || initializing) { return; }
}; };

Loading…
Cancel
Save