Skip to content

Commit 6a8294f

Browse files
committed
lint fixes
1 parent 7a04275 commit 6a8294f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

jquery.laziestloader.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/**
22
* @preserve LaziestLoader - v0.5.1 - 2014-06-19
33
* A responsive lazy loader for jQuery.
44
* http://sjwilliams.github.io/laziestloader/
@@ -99,15 +99,15 @@
9999
/**
100100
* Reflect loaded state in class names
101101
* and fire event.
102-
*
102+
*
103103
* @param {jQuery Object} $el
104104
*/
105105
function onLoad($el) {
106106
$el.addClass('ll-loaded').removeClass('ll-notloaded');
107107
$el.trigger('loaded');
108108

109109
if (typeof callback === 'function') {
110-
callback.call($el);
110+
callback.call($el);
111111
}
112112
}
113113

@@ -136,17 +136,17 @@
136136
}
137137
}
138138

139-
// Determine when to fire `loaded` event. Wait until
139+
// Determine when to fire `loaded` event. Wait until
140140
// media is truly loaded if possible, otherwise immediately
141141
if (options.setSourceMode && (this.nodeName === 'IMG' || this.nodeName === 'VIDEO' || this.nodeName === 'AUDIO') ) {
142142
if (this.nodeName === 'IMG') {
143143
this.onload = function() {
144144
onLoad($el);
145-
}
145+
};
146146
} else {
147147
this.onloadstart = function() {
148148
onLoad($el);
149-
}
149+
};
150150
}
151151
} else {
152152
onLoad($el);
@@ -228,7 +228,7 @@
228228
}
229229
}
230230

231-
// add inital state classes, and check if
231+
// add inital state classes, and check if
232232
// element dimensions need to be set.
233233
$elements.addClass('ll-init ll-notloaded').each(setHeight);
234234

0 commit comments

Comments
 (0)