opentok-annotation
Advanced tools
Comparing version 2.0.16 to 2.0.17
{ | ||
"name": "opentok-annotation", | ||
"version": "2.0.16", | ||
"version": "2.0.17", | ||
"description": "OpenTok annotation accelerator pack", | ||
@@ -5,0 +5,0 @@ "main": "dist/opentok-annotation.js", |
@@ -1138,2 +1138,16 @@ /*! | ||
}; | ||
var updateTimeout; | ||
var sendUpdate = function (update) { | ||
if (self.session) { | ||
batchUpdates.push(update); | ||
if (!updateTimeout) { | ||
updateTimeout = setTimeout(function () { | ||
batchSignal(batchUpdates); | ||
batchUpdates = []; | ||
updateTimeout = null; | ||
}, 100); | ||
} | ||
} | ||
}; | ||
}; | ||
@@ -1140,0 +1154,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
389642
4573