realtime-input.js : callback onInit if exists

pull/1/head
ansuz 2016-02-10 10:40:52 +01:00
parent 61fbf81dcd
commit 019750bea8
1 changed files with 5 additions and 0 deletions

View File

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