Removed jQuery and D3 dependencies.
This commit is contained in:
Vendored
+5
-48254
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
-6061
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+6
-6
@@ -4149,12 +4149,12 @@
|
||||
e.preventDefault();
|
||||
let event = new CustomEvent('resizeStarted');
|
||||
|
||||
let oldPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
this.bringToFront();
|
||||
|
||||
this.element.style.transformOrigin = "0% 0%";
|
||||
|
||||
let newPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
|
||||
let offset = Points.subtract(oldPostition, newPostition);
|
||||
|
||||
@@ -4207,9 +4207,9 @@
|
||||
e.preventDefault();
|
||||
|
||||
let event = new CustomEvent('resizeEnded');
|
||||
let oldPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
this.element.style.transformOrigin = "50% 50%";
|
||||
let newPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
let offset = Points.subtract(oldPostition, newPostition);
|
||||
|
||||
TweenLite.to(this.element, 0, { css: { left: "+=" + offset.x + "px" } });
|
||||
@@ -6713,7 +6713,7 @@
|
||||
|
||||
// drag animation
|
||||
//--------------------
|
||||
TweenMax.to(from, opts.duration, gsOpts);
|
||||
TweenLite.to(from, opts.duration, gsOpts);
|
||||
|
||||
}, timelinePosition, [position]);
|
||||
|
||||
@@ -6878,7 +6878,7 @@
|
||||
|
||||
// drag animation
|
||||
//--------------------
|
||||
TweenMax.to(from, opts.duration, gsOpts);
|
||||
TweenLite.to(from, opts.duration, gsOpts);
|
||||
});
|
||||
|
||||
}, timelinePosition, [position]);
|
||||
|
||||
Vendored
+4
-4
@@ -7146,12 +7146,12 @@
|
||||
e.preventDefault();
|
||||
let event = new CustomEvent('resizeStarted');
|
||||
|
||||
let oldPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
this.bringToFront();
|
||||
|
||||
this.element.style.transformOrigin = "0% 0%";
|
||||
|
||||
let newPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
|
||||
let offset = Points.subtract(oldPostition, newPostition);
|
||||
|
||||
@@ -7204,9 +7204,9 @@
|
||||
e.preventDefault();
|
||||
|
||||
let event = new CustomEvent('resizeEnded');
|
||||
let oldPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
this.element.style.transformOrigin = "50% 50%";
|
||||
let newPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
|
||||
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
|
||||
let offset = Points.subtract(oldPostition, newPostition);
|
||||
|
||||
TweenLite.to(this.element, 0, { css: { left: "+=" + offset.x + "px" } });
|
||||
|
||||
Reference in New Issue
Block a user