@wework/floormap-sdk
Advanced tools
Comparing version 1.1.1-rc1 to 1.1.1-rc2
@@ -5,3 +5,2 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
import _debounce from "lodash/debounce"; | ||
import _get from "lodash/get"; | ||
@@ -48,3 +47,3 @@ import _forEach from "lodash/forEach"; | ||
_defineProperty(this, "updateViewport", _debounce(function () { | ||
_defineProperty(this, "updateViewport", function () { | ||
_this.renderer.updateWindowDimension({ | ||
@@ -55,3 +54,3 @@ width: _this.target.offsetWidth, | ||
}, 100)); | ||
}); | ||
@@ -58,0 +57,0 @@ _defineProperty(this, "handleRendererEvent", function (event) { |
@@ -16,4 +16,2 @@ "use strict"; | ||
var _debounce2 = _interopRequireDefault(require("lodash/debounce")); | ||
var _get2 = _interopRequireDefault(require("lodash/get")); | ||
@@ -70,3 +68,3 @@ | ||
}); | ||
(0, _defineProperty2.default)(this, "updateViewport", (0, _debounce2.default)(function () { | ||
(0, _defineProperty2.default)(this, "updateViewport", function () { | ||
_this.renderer.updateWindowDimension({ | ||
@@ -77,3 +75,3 @@ width: _this.target.offsetWidth, | ||
}, 100)); | ||
}); | ||
(0, _defineProperty2.default)(this, "handleRendererEvent", function (event) { | ||
@@ -80,0 +78,0 @@ var id = event.payload.id; |
{ | ||
"name": "@wework/floormap-sdk", | ||
"version": "1.1.1-rc1", | ||
"version": "1.1.1-rc2", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "module": "es/index.js", |
@@ -1082,3 +1082,3 @@ /* eslint-disable no-param-reassign */ | ||
*/ | ||
updateViewport = _.debounce(() => { | ||
updateViewport = () => { | ||
this.renderer.updateWindowDimension({ | ||
@@ -1089,3 +1089,3 @@ width: this.target.offsetWidth, | ||
// this.renderer.fitContent(this.currentFitContent) | ||
}, 100) | ||
} | ||
@@ -1092,0 +1092,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
11074796
72687