@vegaprotocol/golden-layout
Advanced tools
Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
@@ -61,6 +61,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
_this._fUp = fnBind(_this.onMouseUp, _assertThisInitialized(_this)); | ||
_this._fDown = fnBind(_this.onMouseDown, _assertThisInitialized(_this)); | ||
_this._fDown = fnBind(_this.onMouseDown, _assertThisInitialized(_this)); // VEGA: Bind click method | ||
_this._eElement.on("mousedown touchstart", _this._fDown); | ||
_this._fClick = fnBind(_this.onClick, _assertThisInitialized(_this)); | ||
_this._eElement.on("mousedown touchstart", _this._fDown); // VEGA: Add a click listener if the element is our custom add button | ||
if (_this._eElement.hasClass("add-target")) { | ||
_this._eElement.on("click", _this._fClick); | ||
} | ||
return _this; | ||
@@ -67,0 +74,0 @@ } |
@@ -61,6 +61,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
_this._fUp = fnBind(_this.onMouseUp, _assertThisInitialized(_this)); | ||
_this._fDown = fnBind(_this.onMouseDown, _assertThisInitialized(_this)); | ||
_this._fDown = fnBind(_this.onMouseDown, _assertThisInitialized(_this)); // VEGA: Bind click method | ||
_this._eElement.on("mousedown touchstart", _this._fDown); | ||
_this._fClick = fnBind(_this.onClick, _assertThisInitialized(_this)); | ||
_this._eElement.on("mousedown touchstart", _this._fDown); // VEGA: Add a click listener if the element is our custom add button | ||
if (_this._eElement.hasClass("add-target")) { | ||
_this._eElement.on("click", _this._fClick); | ||
} | ||
return _this; | ||
@@ -67,0 +74,0 @@ } |
{ | ||
"name": "@vegaprotocol/golden-layout", | ||
"version": "2.0.0-alpha.8", | ||
"version": "2.0.0-alpha.9", | ||
"description": "A multi-screen javascript Layout manager \r https://golden-layout.com", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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
1677863
20196