Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Miłosz Sobczak
image-mask-cropper
Commits
1cebe429
Commit
1cebe429
authored
9 years ago
by
Miłosz Sobczak
Browse files
Options
Download
Email Patches
Plain Diff
fixes throving error when startingPos object is not defined
parent
b566d734
master
1.5.4
1.5.3
v1.5.12
v1.5.11
v1.5.10
v1.5.9
v1.5.8
v1.5.7
v1.5.6
v1.5.5
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.9
v1.4.8
v1.4.7
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
bower.json
+1
-1
bower.json
dist/image-mask-cropper.js
+1
-0
dist/image-mask-cropper.js
dist/image-mask-cropper.min.js
+1
-1
dist/image-mask-cropper.min.js
package.json
+1
-1
package.json
src/image-mask-cropper.js
+1
-0
src/image-mask-cropper.js
with
5 additions
and
3 deletions
+5
-3
bower.json
View file @
1cebe429
{
"name"
:
"image-mask-cropper"
,
"version"
:
"1.4.
1
"
,
"version"
:
"1.4.
2
"
,
"homepage"
:
"http://gl.pixers.pl:8080/milosz.sobczak/image-mask-cropper/tree/master"
,
"authors"
:
[
"milosz.sobczak@pixers.pl"
...
...
This diff is collapsed.
Click to expand it.
dist/image-mask-cropper.js
View file @
1cebe429
...
...
@@ -482,6 +482,7 @@
diff
.
y
=
startMousePos
.
y
-
(
e
.
pageY
||
e
.
originalEvent
.
touches
[
0
].
pageY
);
throttle
(
5
,
function
()
{
if
(
startPosCSS
===
null
||
diff
.
x
===
null
||
diff
.
y
===
null
)
return
;
self
.
_moveCropZoneOrImage
(
startPosCSS
,
diff
);
});
}
...
...
This diff is collapsed.
Click to expand it.
dist/image-mask-cropper.min.js
View file @
1cebe429
This diff is collapsed.
Click to expand it.
package.json
View file @
1cebe429
{
"name"
:
"image-mask-cropper"
,
"description"
:
"Jquery library that gives you ability to move images across container using mask as well"
,
"version"
:
"1.4.
1
"
,
"version"
:
"1.4.
2
"
,
"author"
:
"Miłosz Sobczak <milosz.sobczak@pixers.pl>"
,
"devDependencies"
:
{
"
gulp
"
:
"
3.9.0
"
,
...
...
This diff is collapsed.
Click to expand it.
src/image-mask-cropper.js
View file @
1cebe429
...
...
@@ -482,6 +482,7 @@
diff
.
y
=
startMousePos
.
y
-
(
e
.
pageY
||
e
.
originalEvent
.
touches
[
0
].
pageY
);
throttle
(
5
,
function
()
{
if
(
startPosCSS
===
null
||
diff
.
x
===
null
||
diff
.
y
===
null
)
return
;
self
.
_moveCropZoneOrImage
(
startPosCSS
,
diff
);
});
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help