[mod] infinite_scroll as preference

* oscar theme: code from searx/plugins/infinite_scroll.py
* simple theme: new implementation

Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
This commit is contained in:
Alexandre Flament 2022-01-23 11:37:57 +01:00
parent 36aee70c24
commit 56e34947a6
23 changed files with 314 additions and 121 deletions

View file

@ -78,7 +78,7 @@ module.exports = function(grunt) {
}
},
jshint: {
files: ['gruntfile.js', 'src/js/*.js', '../__common__/js/image_layout.js'],
files: ['gruntfile.js', 'src/js/*.js'], // files in __common__ are linted by es lint in simple theme
options: {
reporterOutput: "",
esversion: 6,