@lemonadejs/cropper 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cropper.js +13 -4
- package/package.json +1 -1
package/dist/cropper.js
CHANGED
|
@@ -16,12 +16,21 @@
|
|
|
16
16
|
|
|
17
17
|
'use strict';
|
|
18
18
|
|
|
19
|
-
// Load
|
|
19
|
+
// Load lemonadejs
|
|
20
|
+
if (typeof(lemonade) == 'undefined') {
|
|
21
|
+
if (typeof(require) === 'function') {
|
|
22
|
+
var lemonade = require('lemonadejs');
|
|
23
|
+
} else if (window.lemonade) {
|
|
24
|
+
var lemonade = window.lemonade;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Load jsuites
|
|
20
29
|
if (typeof(jSuites) == 'undefined') {
|
|
21
|
-
if (
|
|
22
|
-
var jSuites = window.jSuites;
|
|
23
|
-
} else if (typeof(require) === 'function') {
|
|
30
|
+
if (typeof(require) === 'function') {
|
|
24
31
|
var jSuites = require('jsuites');
|
|
32
|
+
} else if (window.jSuites) {
|
|
33
|
+
var jSuites = window.jSuites;
|
|
25
34
|
}
|
|
26
35
|
}
|
|
27
36
|
|
package/package.json
CHANGED