Socket
Socket
Sign inDemoInstall

opentok-annotation

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentok-annotation - npm Package Compare versions

Comparing version 1.0.25 to 1.0.26

2

package.json
{
"name": "opentok-annotation",
"version": "1.0.25",
"version": "1.0.26",
"description": "OpenTok annotation accelerator pack",

@@ -5,0 +5,0 @@ "main": "dist/opentok-annotation.js",

@@ -25,4 +25,2 @@ /* global OT OTSolution OTKAnalytics ScreenSharingAccPack define */

var _canvas;
var _screensharing;
var _viewingSharedScreen;
var _elements = {};

@@ -232,24 +230,12 @@

if (_screensharing || _viewingSharedScreen) {
$(_elements.canvas).css({
width: width,
height: height
});
$(_elements.canvasContainer).find('canvas').css({
width: width,
height: height
});
$(_elements.canvas).attr({
width: width,
height: height
});
} else {
$(_elements.canvasContainer).css({
width: width,
height: height
});
$(_elements.canvasContainer).find('canvas').attr({
width: width,
height: height
});
$(_elements.canvasContainer).attr({
width: width,
height: height
});
}
_refreshCanvas();

@@ -367,3 +353,2 @@ _triggerEvent('resizeCanvas');

* @param {boolean} [options.screensharing] - Using an external window
* @param {boolean} [options.viewingSharedScreen] - Annotating on shared screen
* @param {string} [options.toolbarId] - If the container has an id other than 'toolbar'

@@ -377,6 +362,3 @@ * @param {array} [options.items] - Custom set of tools

_viewingSharedScreen = _.property('viewingSharedScreen')(options);
if (_.property('screensharing')(options)) {
_screensharing = true;
_createExternalWindow()

@@ -383,0 +365,0 @@ .then(function (externalWindow) {

@@ -343,3 +343,3 @@ /*!

self.isStartPoint = true;
_log(_logEventData.actionStartDrawing, _logEventData.variationSuccess);
!resizeEvent && _log(_logEventData.actionStartDrawing, _logEventData.variationSuccess);
break;

@@ -400,3 +400,3 @@ case 'mousemove':

self.isStartPoint = false;
_log(_logEventData.actionEndDrawing, _logEventData.variationSuccess);
!resizeEvent && _log(_logEventData.actionEndDrawing, _logEventData.variationSuccess);
break;

@@ -403,0 +403,0 @@ case 'mouseout':

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc