Skip to content

Commit

Permalink
Merge pull request #12 from fradav/master
Browse files Browse the repository at this point in the history
Removed hardcoded reference to "Justlazy"
  • Loading branch information
fhopeman authored Mar 7, 2017
2 parents b7a14cb + d581cd6 commit 85ea6dc
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"name": "justlazy",
"main": "src/justlazy.js",
"author": "Fabian Hoffmann",
"description": "Lightweight javascript plugin to lazy load images",
"version": "1.6.0",
"homepage": "http://fhopeman.github.io/justlazy",
"repository": {
"type": "git",
"url": "https://github.com/fhopeman/justlazy"
},
"bugs": {
"url": "https://github.com/fhopeman/justlazy/issues"
},
"keywords": [
"lazy",
"load",
"loading",
"image",
"images"
],
"license": "MIT",
"devDependencies": {
"grunt": "~1.0.1",
"grunt-cli": "~1.2.0",
"grunt-contrib-connect": "~1.0.2",
"grunt-contrib-jasmine": "~1.0.3",
"grunt-contrib-jshint": "~1.0.0",
"grunt-contrib-uglify": "~2.0.0",
"grunt-contrib-watch": "~1.0.0",
"grunt-saucelabs": "~9.0.0"
},
"scripts": {
"test": "grunt travis-ci"
}
}
"name": "justlazy",
"main": "src/justlazy.js",
"author": "Fabian Hoffmann",
"description": "Lightweight javascript plugin to lazy load images",
"version": "1.6.1",
"homepage": "http://fhopeman.github.io/justlazy",
"repository": {
"type": "git",
"url": "https://github.com/fhopeman/justlazy"
},
"bugs": {
"url": "https://github.com/fhopeman/justlazy/issues"
},
"keywords": [
"lazy",
"load",
"loading",
"image",
"images"
],
"license": "MIT",
"devDependencies": {
"grunt": "~1.0.1",
"grunt-cli": "~1.2.0",
"grunt-contrib-connect": "~1.0.2",
"grunt-contrib-jasmine": "~1.0.3",
"grunt-contrib-jshint": "~1.0.0",
"grunt-contrib-uglify": "~2.0.0",
"grunt-contrib-watch": "~1.0.0",
"grunt-saucelabs": "~9.0.0"
},
"scripts": {
"test": "grunt travis-ci"
}
}
4 changes: 2 additions & 2 deletions src/justlazy.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
var registerLazyLoadByClass = function(imgPlaceholderClass, options) {
var placeholders = document.querySelectorAll("." + imgPlaceholderClass);
for (var i = 0; i < placeholders.length; ++i) {
Justlazy.registerLazyLoad(placeholders[i], options);
this.registerLazyLoad(placeholders[i], options);
}
};

Expand All @@ -170,4 +170,4 @@
registerLazyLoad: registerLazyLoad,
registerLazyLoadByClass: registerLazyLoadByClass
};
}));
}));
2 changes: 1 addition & 1 deletion src/justlazy.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85ea6dc

Please sign in to comment.