Skip to content

Commit

Permalink
Restored .min.js in demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Verlicchi committed Jul 30, 2018
1 parent 26391a9 commit 332cdc8
Show file tree
Hide file tree
Showing 7 changed files with 191 additions and 84 deletions.
2 changes: 1 addition & 1 deletion demos/callbacks.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
</li>
</ul>
</div>
<script src="../dist/lazyload.js"></script>
<script src="../dist/lazyload.min.js"></script>
<script>
(function () {
function logElementEvent(eventName, element) {
Expand Down
2 changes: 1 addition & 1 deletion demos/callbacks_picture.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@
</li>
</ul>
</div>
<script src="../dist/lazyload.js"></script>
<script src="../dist/lazyload.min.js"></script>
<script>
(function () {
function logElementEvent(eventName, element) {
Expand Down
35 changes: 25 additions & 10 deletions demos/dynamic_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,49 @@

<body>
<button id="addContent">
ADD CONTENT <span class="count"></span>
</button>
ADD CONTENT
<span class="count"></span>
</button>
<div id="results1" class="results">
<ul>
<li>
<a href="#"><img alt="Stivaletti" data-src="../img/44721746JJ_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Stivaletti" data-src="../img/44721746JJ_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Open toe" data-src="../img/44740806JX_15_r.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Open toe" data-src="../img/44740806JX_15_r.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis" data-src="../img/44735977GR_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis" data-src="../img/44735977GR_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738717AM_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738717AM_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44739940CB_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44739940CB_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44740860XG_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44740860XG_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738719VN_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738719VN_15_a.jpg" width="220" height="280">
</a>
</li>
</ul>
</div>
<script src="../dist/lazyload.js"></script>
<script src="../dist/lazyload.min.js"></script>
<script>
(function () {

Expand Down
35 changes: 25 additions & 10 deletions demos/dynamic_content_nodeset.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,49 @@

<body>
<button id="addContent">
ADD CONTENT <span class="count"></span>
</button>
ADD CONTENT
<span class="count"></span>
</button>
<div id="results1" class="results">
<ul>
<li>
<a href="#"><img alt="Stivaletti" data-src="../img/44721746JJ_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Stivaletti" data-src="../img/44721746JJ_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Open toe" data-src="../img/44740806JX_15_r.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Open toe" data-src="../img/44740806JX_15_r.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis" data-src="../img/44735977GR_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis" data-src="../img/44735977GR_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738717AM_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738717AM_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44739940CB_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44739940CB_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44740860XG_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes alte" data-src="../img/44740860XG_15_a.jpg" width="220" height="280">
</a>
</li>
<li>
<a href="#"><img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738719VN_15_a.jpg" width="220" height="280"></a>
<a href="#">
<img alt="Sneakers &amp; Tennis shoes basse" data-src="../img/44738719VN_15_a.jpg" width="220" height="280">
</a>
</li>
</ul>
</div>
<script src="../dist/lazyload.js"></script>
<script src="../dist/lazyload.min.js"></script>
<script>
(function () {

Expand Down
2 changes: 1 addition & 1 deletion demos/load.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
</div>
</body>

<script src="../dist/lazyload.js"></script>
<script src="../dist/lazyload.min.js"></script>
<script>
(function (w, d) {
const lazyClass = "lazy";
Expand Down
Loading

0 comments on commit 332cdc8

Please sign in to comment.