Skip to content

Commit

Permalink
build: release 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Apr 21, 2024
1 parent 388368d commit da3f6f7
Show file tree
Hide file tree
Showing 12 changed files with 2,190 additions and 1,839 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## next
## 1.6.2 (Apr 21, 2024)

- Disable touch callout on iOS webkit-based browsers (#1155).

Expand Down
35 changes: 17 additions & 18 deletions dist/cropper.common.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.6.1
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:01:08.929Z
* Date: 2024-04-21T07:43:05.335Z
*/

'use strict';
Expand All @@ -31,6 +31,20 @@ function _objectSpread2(e) {
}
return e;
}
function _toPrimitive(t, r) {
if ("object" != typeof t || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != typeof i) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
function _toPropertyKey(t) {
var i = _toPrimitive(t, "string");
return "symbol" == typeof i ? i : i + "";
}
function _typeof(o) {
"@babel/helpers - typeof";

Expand Down Expand Up @@ -101,20 +115,6 @@ function _arrayLikeToArray(arr, len) {
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}

var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';
var WINDOW = IS_BROWSER ? window : {};
Expand Down Expand Up @@ -2914,7 +2914,7 @@ var Cropper = /*#__PURE__*/function () {
this.sizing = false;
this.init();
}
_createClass(Cropper, [{
return _createClass(Cropper, [{
key: "init",
value: function init() {
var element = this.element;
Expand Down Expand Up @@ -3261,7 +3261,6 @@ var Cropper = /*#__PURE__*/function () {
assign(DEFAULTS, isPlainObject(options) && options);
}
}]);
return Cropper;
}();
assign(Cropper.prototype, render, preview, events, handlers, change, methods);

Expand Down
4 changes: 2 additions & 2 deletions dist/cropper.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.6.1
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:01:05.408Z
* Date: 2024-04-21T07:43:02.731Z
*/

.cropper-container {
Expand Down
35 changes: 17 additions & 18 deletions dist/cropper.esm.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.6.1
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:01:08.929Z
* Date: 2024-04-21T07:43:05.335Z
*/

function ownKeys(e, r) {
Expand All @@ -29,6 +29,20 @@ function _objectSpread2(e) {
}
return e;
}
function _toPrimitive(t, r) {
if ("object" != typeof t || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != typeof i) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
function _toPropertyKey(t) {
var i = _toPrimitive(t, "string");
return "symbol" == typeof i ? i : i + "";
}
function _typeof(o) {
"@babel/helpers - typeof";

Expand Down Expand Up @@ -99,20 +113,6 @@ function _arrayLikeToArray(arr, len) {
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}

var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';
var WINDOW = IS_BROWSER ? window : {};
Expand Down Expand Up @@ -2912,7 +2912,7 @@ var Cropper = /*#__PURE__*/function () {
this.sizing = false;
this.init();
}
_createClass(Cropper, [{
return _createClass(Cropper, [{
key: "init",
value: function init() {
var element = this.element;
Expand Down Expand Up @@ -3259,7 +3259,6 @@ var Cropper = /*#__PURE__*/function () {
assign(DEFAULTS, isPlainObject(options) && options);
}
}]);
return Cropper;
}();
assign(Cropper.prototype, render, preview, events, handlers, change, methods);

Expand Down
35 changes: 17 additions & 18 deletions dist/cropper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.6.1
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:01:08.929Z
* Date: 2024-04-21T07:43:05.335Z
*/

(function (global, factory) {
Expand Down Expand Up @@ -35,6 +35,20 @@
}
return e;
}
function _toPrimitive(t, r) {
if ("object" != typeof t || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != typeof i) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
function _toPropertyKey(t) {
var i = _toPrimitive(t, "string");
return "symbol" == typeof i ? i : i + "";
}
function _typeof(o) {
"@babel/helpers - typeof";

Expand Down Expand Up @@ -105,20 +119,6 @@
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}

var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';
var WINDOW = IS_BROWSER ? window : {};
Expand Down Expand Up @@ -2918,7 +2918,7 @@
this.sizing = false;
this.init();
}
_createClass(Cropper, [{
return _createClass(Cropper, [{
key: "init",
value: function init() {
var element = this.element;
Expand Down Expand Up @@ -3265,7 +3265,6 @@
assign(DEFAULTS, isPlainObject(options) && options);
}
}]);
return Cropper;
}();
assign(Cropper.prototype, render, preview, events, handlers, change, methods);

Expand Down
4 changes: 2 additions & 2 deletions dist/cropper.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/cropper.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/css/cropper.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.6.1
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:01:05.408Z
* Date: 2024-04-21T07:43:02.731Z
*/

.cropper-container {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<div class="container">
<div class="row">
<div class="col-md">
<h1>Cropper.js <small class="h6">v1.6.1</small></h1>
<h1>Cropper.js <small class="h6">v1.6.2</small></h1>
<p class="lead">JavaScript image cropper.</p>
</div>
<div class="col-md">
Expand Down
35 changes: 17 additions & 18 deletions docs/js/cropper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.6.1
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:01:08.929Z
* Date: 2024-04-21T07:43:05.335Z
*/

(function (global, factory) {
Expand Down Expand Up @@ -35,6 +35,20 @@
}
return e;
}
function _toPrimitive(t, r) {
if ("object" != typeof t || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != typeof i) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
function _toPropertyKey(t) {
var i = _toPrimitive(t, "string");
return "symbol" == typeof i ? i : i + "";
}
function _typeof(o) {
"@babel/helpers - typeof";

Expand Down Expand Up @@ -105,20 +119,6 @@
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}

var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';
var WINDOW = IS_BROWSER ? window : {};
Expand Down Expand Up @@ -2918,7 +2918,7 @@
this.sizing = false;
this.init();
}
_createClass(Cropper, [{
return _createClass(Cropper, [{
key: "init",
value: function init() {
var element = this.element;
Expand Down Expand Up @@ -3265,7 +3265,6 @@
assign(DEFAULTS, isPlainObject(options) && options);
}
}]);
return Cropper;
}();
assign(Cropper.prototype, render, preview, events, handlers, change, methods);

Expand Down
Loading

0 comments on commit da3f6f7

Please sign in to comment.