Skip to content

Commit

Permalink
use protocol relative links (fixes #234)
Browse files Browse the repository at this point in the history
  • Loading branch information
aFarkas committed Feb 22, 2016
1 parent cb05dc5 commit 7104c91
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
38 changes: 19 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,18 +242,18 @@ <h3>responsive image with srcset and sizes attribute</h3>
<picture>
<!--[if IE 9]><audio><![endif]-->
<source
data-srcset="http://lorempixel.com/710/533/people/9/"
data-srcset="//lorempixel.com/710/533/people/9/"
media="(max-width: 990px)" />
<source
data-srcset="http://lorempixel.com/930/698/people/8/"
data-srcset="//lorempixel.com/930/698/people/8/"
media="(max-width: 1024px)" />

<source
data-srcset="http://lorempixel.com/1130/848/people/" />
data-srcset="//lorempixel.com/1130/848/people/" />
<!--[if IE 9]></audio><![endif]-->
<img
class="lazyload"
data-src="http://lorempixel.com/930/698/people/8/"
data-src="//lorempixel.com/930/698/people/8/"
alt="image with artdirection" />
</picture>
</div>
Expand Down Expand Up @@ -670,7 +670,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/abstract/1/"
data-src="//lorempixel.com/400/300/abstract/1/"
alt="" />
</div>
</div>
Expand All @@ -679,7 +679,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/animals/1/"
data-src="//lorempixel.com/400/300/animals/1/"
alt="" />
</div>
</div>
Expand All @@ -688,7 +688,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/business/1/"
data-src="//lorempixel.com/400/300/business/1/"
alt="" />
</div>
</div>
Expand All @@ -700,7 +700,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/cats/1/"
data-src="//lorempixel.com/400/300/cats/1/"
alt="" />
</div>
</div>
Expand All @@ -709,7 +709,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/city/1/"
data-src="//lorempixel.com/400/300/city/1/"
alt="" />
</div>
</div>
Expand All @@ -718,7 +718,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/food/1/"
data-src="//lorempixel.com/400/300/food/1/"
alt="" />
</div>
</div>
Expand All @@ -729,7 +729,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/nature/1/"
data-src="//lorempixel.com/400/300/nature/1/"
alt="" />
</div>
</div>
Expand All @@ -738,7 +738,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/sports/1/"
data-src="//lorempixel.com/400/300/sports/1/"
alt="" />
</div>
</div>
Expand All @@ -747,7 +747,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/technics/1/"
data-src="//lorempixel.com/400/300/technics/1/"
alt="" />
</div>

Expand All @@ -759,7 +759,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/nightlife/1/"
data-src="//lorempixel.com/400/300/nightlife/1/"
alt="" />
</div>
</div>
Expand All @@ -768,7 +768,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/fashion/1/"
data-src="//lorempixel.com/400/300/fashion/1/"
alt="" />
</div>
</div>
Expand All @@ -777,7 +777,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/people/1/"
data-src="//lorempixel.com/400/300/people/1/"
alt="" />
</div>
</div>
Expand All @@ -790,23 +790,23 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/transport/1/"
data-src="//lorempixel.com/400/300/transport/1/"
alt="" />
</div>
</div>
<div class="thumbnail thumbnail-small lazyload" data-expand="-40">
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/animals/1/"
data-src="//lorempixel.com/400/300/animals/1/"
alt="" />
</div>
</div>
<div class="thumbnail thumbnail-small lazyload" data-expand="-40">
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/food/2/"
data-src="//lorempixel.com/400/300/food/2/"
alt="" />
</div>
</div>
Expand Down
38 changes: 19 additions & 19 deletions no-src.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,18 +245,18 @@ <h3>responsive image with srcset and sizes attribute</h3>
<picture>
<!--[if IE 9]><audio><![endif]-->
<source
data-srcset="http://lorempixel.com/710/533/people/9/"
data-srcset="//lorempixel.com/710/533/people/9/"
media="(max-width: 990px)" />
<source
data-srcset="http://lorempixel.com/930/698/people/8/"
data-srcset="//lorempixel.com/930/698/people/8/"
media="(max-width: 1024px)" />

<source
data-srcset="http://lorempixel.com/1130/848/people/" />
data-srcset="//lorempixel.com/1130/848/people/" />
<!--[if IE 9]></audio><![endif]-->
<img
class="lazyload"
data-src="http://lorempixel.com/1130/848/people/"
data-src="//lorempixel.com/1130/848/people/"
alt="image with artdirection" />
</picture>
</div>
Expand Down Expand Up @@ -644,7 +644,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/abstract/1/"
data-src="//lorempixel.com/400/300/abstract/1/"
alt="" />
</div>
</div>
Expand All @@ -653,7 +653,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/animals/1/"
data-src="//lorempixel.com/400/300/animals/1/"
alt="" />
</div>
</div>
Expand All @@ -662,7 +662,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/business/1/"
data-src="//lorempixel.com/400/300/business/1/"
alt="" />
</div>
</div>
Expand All @@ -674,7 +674,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/cats/1/"
data-src="//lorempixel.com/400/300/cats/1/"
alt="" />
</div>
</div>
Expand All @@ -683,7 +683,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/city/1/"
data-src="//lorempixel.com/400/300/city/1/"
alt="" />
</div>
</div>
Expand All @@ -692,7 +692,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/food/1/"
data-src="//lorempixel.com/400/300/food/1/"
alt="" />
</div>
</div>
Expand All @@ -703,7 +703,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/nature/1/"
data-src="//lorempixel.com/400/300/nature/1/"
alt="" />
</div>
</div>
Expand All @@ -712,7 +712,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/sports/1/"
data-src="//lorempixel.com/400/300/sports/1/"
alt="" />
</div>
</div>
Expand All @@ -721,7 +721,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/technics/1/"
data-src="//lorempixel.com/400/300/technics/1/"
alt="" />
</div>

Expand All @@ -733,7 +733,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/nightlife/1/"
data-src="//lorempixel.com/400/300/nightlife/1/"
alt="" />
</div>
</div>
Expand All @@ -742,7 +742,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/fashion/1/"
data-src="//lorempixel.com/400/300/fashion/1/"
alt="" />
</div>
</div>
Expand All @@ -751,7 +751,7 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/people/1/"
data-src="//lorempixel.com/400/300/people/1/"
alt="" />
</div>
</div>
Expand All @@ -764,23 +764,23 @@ <h3>Widgets/Javascript/Script</h3>
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/transport/1/"
data-src="//lorempixel.com/400/300/transport/1/"
alt="" />
</div>
</div>
<div class="thumbnail thumbnail-small lazyload" data-expand="-40">
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/animals/1/"
data-src="//lorempixel.com/400/300/animals/1/"
alt="" />
</div>
</div>
<div class="thumbnail thumbnail-small lazyload" data-expand="-40">
<div class="intrinsic">
<img
class="lazyload no-src"
data-src="http://lorempixel.com/400/300/food/2/"
data-src="//lorempixel.com/400/300/food/2/"
alt="" />
</div>
</div>
Expand Down

0 comments on commit 7104c91

Please sign in to comment.