locizify 7.0.3 → 7.0.4
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/CHANGELOG.md +4 -0
- package/README.md +8 -5
- package/dist/umd/locizify.js +1 -1
- package/dist/umd/locizify.min.js +1 -1
- package/locizify.js +1 -1
- package/locizify.min.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -12,8 +12,9 @@ Just drop the following line to your header to deliver your content in any langu
|
|
|
12
12
|
id="locizify"
|
|
13
13
|
projectid="[PROJECT_ID]"
|
|
14
14
|
apikey="[API_KEY]"
|
|
15
|
-
src="https://unpkg.com/locizify@^
|
|
15
|
+
src="https://unpkg.com/locizify@^7.0.3"
|
|
16
16
|
autopilot="true"
|
|
17
|
+
cdnType="standard"
|
|
17
18
|
></script>
|
|
18
19
|
|
|
19
20
|
<!-- or -->
|
|
@@ -21,8 +22,9 @@ Just drop the following line to your header to deliver your content in any langu
|
|
|
21
22
|
id="locizify"
|
|
22
23
|
projectid="[PROJECT_ID]"
|
|
23
24
|
apikey="[API_KEY]"
|
|
24
|
-
src="https://cdn.jsdelivr.net/npm/locizify@^
|
|
25
|
+
src="https://cdn.jsdelivr.net/npm/locizify@^7.0.3"
|
|
25
26
|
autopilot="true"
|
|
27
|
+
cdnType="standard"
|
|
26
28
|
></script>
|
|
27
29
|
|
|
28
30
|
```
|
|
@@ -69,8 +71,9 @@ Add the script to your page:
|
|
|
69
71
|
id="locizify"
|
|
70
72
|
projectid="[PROJECT_ID]"
|
|
71
73
|
apikey="[API_KEY]"
|
|
72
|
-
src="https://unpkg.com/locizify@^
|
|
74
|
+
src="https://unpkg.com/locizify@^7.0.3"
|
|
73
75
|
autopilot
|
|
76
|
+
cdnType="standard"
|
|
74
77
|
></script>
|
|
75
78
|
</head>
|
|
76
79
|
...
|
|
@@ -102,7 +105,7 @@ Add the script to your page:
|
|
|
102
105
|
apikey="[API_KEY]"
|
|
103
106
|
referencelng="[LNG]"
|
|
104
107
|
fallbacklng="[LNG]"
|
|
105
|
-
src="https://unpkg.com/locizify@^
|
|
108
|
+
src="https://unpkg.com/locizify@^7.0.3"
|
|
106
109
|
|
|
107
110
|
// all custom attributes can also be prefixed with data-
|
|
108
111
|
// data-projectid="[PROJECT_ID]"
|
|
@@ -133,7 +136,7 @@ Add the script to your page:
|
|
|
133
136
|
<!DOCTYPE html>
|
|
134
137
|
<html>
|
|
135
138
|
<head>
|
|
136
|
-
<script src="https://unpkg.com/locizify@^
|
|
139
|
+
<script src="https://unpkg.com/locizify@^7.0.3"></script>
|
|
137
140
|
<script>
|
|
138
141
|
locizify.init({
|
|
139
142
|
// required
|
package/dist/umd/locizify.js
CHANGED
|
@@ -7562,7 +7562,7 @@
|
|
|
7562
7562
|
if (this.options.pull) {
|
|
7563
7563
|
console.warn('The pull API was removed use "private: true" option instead: https://www.locize.com/docs/api#fetch-private-namespace-resources');
|
|
7564
7564
|
}
|
|
7565
|
-
if (allOptions.debug && orgPassedOptions.noCache === undefined && this.options.cdnType
|
|
7565
|
+
if (allOptions.debug && orgPassedOptions.noCache === undefined && this.options.cdnType === 'standard') {
|
|
7566
7566
|
this.options.noCache = true;
|
|
7567
7567
|
}
|
|
7568
7568
|
if (this.options.noCache && this.options.cdnType !== 'standard') {
|