Skip to content

Commit 6eaa18c

Browse files
committed
Linting
1 parent 9eff4a3 commit 6eaa18c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/responsive_images.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ function getImgData( img ) {
588588

589589
// how does this resource differ from the actual selected resource? determine and log.
590590
if ( idealSizesSelectedResource &&
591-
idealSizesSelectedResourcObject.prototype.hasOwnProperty.call(e, 'w') &&
591+
Object.prototype.hasOwnProperty.call(idealSizesSelectedResource, 'w') &&
592592
imgData.approximateResourceWidth > 0 &&
593593
imgData.approximateResourceHeight > 0 &&
594594
imgData.currentSrcWDescriptor &&

dist/robots_meta.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ try {
9494
let robots_bodies = processRobotsHTML(doc);
9595

9696
for (let bot in robots_bodies) {
97-
if (!result_bodieObject.prototype.hasOwnProperty.call(s, bot)) {
97+
if (!Object.prototype.hasOwnProperty.call(result_bodies, bot)) {
9898
result_bodies[bot] = Object.assign({}, base);
9999
}
100100
[...Object.entries(robots_bodies[bot])].forEach(item=>{
@@ -105,7 +105,7 @@ try {
105105
}
106106
let robots_headers = processRobotsHeaders(headers);
107107
for (let bot in robots_headers) {
108-
if (!result_headerObject.prototype.hasOwnProperty.call(s, bot)) {
108+
if (!Object.prototype.hasOwnProperty.call(result_headers, bot)) {
109109
result_headers[bot] = Object.assign({}, base);
110110
}
111111
[...Object.entries(robots_headers[bot])].forEach(item=>{

0 commit comments

Comments
 (0)