Skip to content

Commit 21f1711

Browse files
committed
rebuild min.js
1 parent a29d90e commit 21f1711

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

README.textile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ See `enabled_vertical_only.html`
176176

177177
h2. The options object
178178

179-
You can use the options object as the first argument in the lazyload method.
179+
You can use the options object as the first argument in the `lazyload` method.
180180

181181
<pre>
182182
var options = {
183-
// By default images are loaded when they appear on the screen. If you want images to load earlier use threshold parameter. Setting threshold to 200 causes image to load 200 pixels before it appears on viewport.
184-
threshold : 0, // default: 0. Another example: 200
183+
// By default images are loaded when they appear on the screen. If you want images to load earlier use threshold parameter. Setting threshold to 200 causes image to load 200 pixels before it appears on viewport.
184+
threshold : 0, // default: 0. Another example: 200
185185
// After scrolling page plugin loops though unloaded images. Loop checks if image has become visible. By default loop is stopped when first image outside viewport is found. This is based on following assumption. Order of images on page is same as order of images in HTML code. With some layouts assumption this might be wrong. You can control loading behaviour with failure_limit setting.
186186
failure_limit : 0, // default: 0. Another example: 10
187187
// You can use jQuery event such as click or mouseover. You can also use custom events such as sporty or foobar. Default is to wait until user scrolls down and image appears on the viewport.
@@ -207,9 +207,6 @@ var options = {
207207
// Placeholder for IE6/7
208208
placeholderRealImg : 'http://webmap4.map.bdimg.com/yyfm/lazyload/0.0.1/img/placeholder.png'
209209
}
210-
</pre>
211-
212-
<pre>
213210
$("img.lazy").lazyload(options);
214211
</pre>
215212

jquery.lazyload.min.js

Lines changed: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)