Skip to content

Commit 69edf5b

Browse files
committed
fix #52 #55
1 parent 784a555 commit 69edf5b

9 files changed

+48
-47
lines changed

README.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Spotlight runs out of the box:
3434
- Zoom in/out
3535
- Toggle resize
3636
- Switch theme
37-
- Autoplay
37+
- Autoslide
3838
- Download
3939
- Progress Bar
4040
- Page
@@ -94,8 +94,8 @@ __Get Latest Stable Build (Recommended):__
9494
</tr>
9595
<tr>
9696
<td>spotlight.bundle.js</td>
97-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/dist/spotlight.bundle.js" target="_blank">Download</a></td>
98-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/spotlight.bundle.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/spotlight.bundle.js</a></td>
97+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/dist/spotlight.bundle.js" target="_blank">Download</a></td>
98+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/spotlight.bundle.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/spotlight.bundle.js</a></td>
9999
</tr>
100100
<tr>
101101
<td colspan=3">
@@ -104,14 +104,14 @@ __Get Latest Stable Build (Recommended):__
104104
</tr>
105105
<tr>
106106
<td>spotlight.min.js</td>
107-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/dist/js/spotlight.min.js" target="_blank">Download</a></td>
108-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/js/spotlight.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/js/spotlight.min.js</a></td>
107+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/dist/js/spotlight.min.js" target="_blank">Download</a></td>
108+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/js/spotlight.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/js/spotlight.min.js</a></td>
109109
</tr>
110110
<tr></tr>
111111
<tr>
112112
<td>spotlight.min.css</td>
113-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/dist/css/spotlight.min.css" target="_blank">Download</a></td>
114-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/css/spotlight.min.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/dist/css/spotlight.min.css</a></td>
113+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/dist/css/spotlight.min.css" target="_blank">Download</a></td>
114+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/css/spotlight.min.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/dist/css/spotlight.min.css</a></td>
115115
</tr>
116116
<tr>
117117
<td colspan=3">
@@ -120,25 +120,25 @@ __Get Latest Stable Build (Recommended):__
120120
</tr>
121121
<tr>
122122
<td>ES6 Modules</td>
123-
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.7/src/js" target="_blank">Download</a></td>
123+
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.8/src/js" target="_blank">Download</a></td>
124124
<td>The <i>/src/js</i> folder of this Github repository</td>
125125
</tr>
126126
<tr></tr>
127127
<tr>
128128
<td>LESS Files (source)</td>
129-
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.7/src/css" target="_blank">Download</a></td>
129+
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.8/src/css" target="_blank">Download</a></td>
130130
<td>The <i>/src/css</i> folder of this Github repository</td>
131131
</tr>
132132
<tr></tr>
133133
<tr>
134134
<td>spotlight.css (compiled)</td>
135-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.7/src/css/spotlight.css" target="_blank">Download</a></td>
136-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/src/css/spotlight.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.7/src/css/spotlight.css</a></td>
135+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.8/src/css/spotlight.css" target="_blank">Download</a></td>
136+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/src/css/spotlight.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.8/src/css/spotlight.css</a></td>
137137
</tr>
138138
<tr></tr>
139139
<tr>
140140
<td>src.zip</td>
141-
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.7/dist" target="_blank">Download</a></td>
141+
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.8/dist" target="_blank">Download</a></td>
142142
<td>Download all source files including image original resources.</td>
143143
</tr>
144144
</table>
@@ -151,7 +151,7 @@ npm install spotlight.js
151151

152152
__Get Latest Nightly (Do not use for production!):__
153153

154-
Just exchange the version number from the URLs above with "master", e.g.: "/spotlight/__0.7.7__/dist/" into "/spotlight/__master__/dist".
154+
Just exchange the version number from the URLs above with "master", e.g.: "/spotlight/__0.7.8__/dist/" into "/spotlight/__master__/dist".
155155

156156
> If you are using markup on anchor elements to inject the library, then it is recommended to load the lib inside your head section of the document. Because that will better prevent the original behavior of the anchor tag (e.g. when library wasn't fully loaded on page start).
157157
@@ -232,7 +232,7 @@ You can also load modules via CDN, e.g.:
232232

233233
```html
234234
<script type="module">
235-
import Spotlight from "https://unpkg.com/[email protected].7/src/js/spotlight.js";
235+
import Spotlight from "https://unpkg.com/[email protected].8/src/js/spotlight.js";
236236
</script>
237237
```
238238

@@ -464,21 +464,21 @@ When using API the ___spotlight-group___ is represented by the options payload,
464464
<tr>
465465
<td>play</td>
466466
<td>true / false / number</td>
467-
<td>Show/hide play button, also set delay in seconds between each tick</td>
467+
<td>Show/hide play button. When passing a numeric value it will be used as a delay in seconds between each tick.</td>
468468
<td>false</td>
469469
</tr>
470470
<tr></tr>
471471
<tr>
472-
<td>autoplay</td>
472+
<td>autoslide</td>
473473
<td>true / false</td>
474-
<td>Autoplay when opening gallery (also requires the option <b>play</b> to be set)</td>
474+
<td>Autoslide when opening gallery.</td>
475475
<td>false</td>
476476
</tr>
477477
<tr></tr>
478478
<tr>
479479
<td>progress</td>
480480
<td>true / false</td>
481-
<td>Show/hide the animated autoplay progress bar</td>
481+
<td>Show/hide the animated autoslide progress bar</td>
482482
<td>true</td>
483483
</tr>
484484
<tr></tr>
@@ -1477,5 +1477,5 @@ The final build is located in the `dist/` folder.
14771477

14781478
---
14791479

1480-
Copyright 2019 Nextapps GmbH<br>
1480+
Copyright 2019-2021 Nextapps GmbH<br>
14811481
Released under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">Apache 2.0 License</a><br>

dist/css/spotlight.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/spotlight.min.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)