@looop/react-designer
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -22,3 +22,3 @@ "use strict"; | ||
var actions = _interopRequireWildcard(require("./actions")); | ||
var _index = require("./actions/index"); | ||
@@ -380,6 +380,3 @@ var _objects = require("./objects"); | ||
var mouse = this.getMouseCoords(event); | ||
var scale = actions.scale, | ||
rotate = actions.rotate, | ||
drag = actions.drag; | ||
var map = (_map = {}, _defineProperty(_map, _constants.modes.SCALE, scale), _defineProperty(_map, _constants.modes.ROTATE, rotate), _defineProperty(_map, _constants.modes.DRAG, drag), _map); | ||
var map = (_map = {}, _defineProperty(_map, _constants.modes.SCALE, _index.scale), _defineProperty(_map, _constants.modes.ROTATE, _index.rotate), _defineProperty(_map, _constants.modes.DRAG, _index.drag), _map); | ||
var action = map[mode]; | ||
@@ -386,0 +383,0 @@ |
{ | ||
"name": "@looop/react-designer", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Easy to configure, lightweight, editable vector graphics in your react components.", | ||
@@ -9,3 +9,3 @@ "main": "./lib/index.js", | ||
"deploy": "NODE_ENV=production webpack -p --config webpack.production.js", | ||
"prepare": "babel -d lib/ src/ --extensions \".tsx\"", | ||
"prepare": "babel -d lib/ src/ --extensions \".tsx,.ts\"", | ||
"dev": "babel -d lib/ src/ -w", | ||
@@ -12,0 +12,0 @@ "build": "npm run prepare", |
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
217390
37
3521