Skip to content

Commit 7b578c9

Browse files
committed
add missing comments
1 parent 6c40a32 commit 7b578c9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

jquery.laziestloader.js

+5
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@
222222
}
223223

224224

225+
/**
226+
* Given a lazy element, check if it should have
227+
* its height set based on a data-ratio multiplier.
228+
*/
225229
function setHeight() {
226230
var $el = $(this),
227231
data = $el.data();
@@ -262,6 +266,7 @@
262266
laziestloader();
263267
});
264268

269+
// initial check for lazy images
265270
$(document).ready(function() {
266271
laziestloader();
267272
});

jquery.laziestloader.min.js

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

0 commit comments

Comments
 (0)