2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-12-22 02:48:56 +00:00

Cleanup build script

This commit is contained in:
Tomas Kirda 2023-10-10 19:00:38 -05:00
parent 6e9a54fb7d
commit 4ef474dd4b
3 changed files with 2 additions and 13 deletions

View File

@ -54,17 +54,5 @@ module.exports = function(grunt) {
} else {
console.log('No updates for: ' + filePath);
}
// Update bower version:
filePath = 'bower.json';
src = grunt.file.readJSON(filePath);
if (src.version !== version){
src.version = version;
console.log('Updating: ' + filePath);
grunt.file.write(filePath, JSON.stringify(src, null, 4));
} else {
console.log('No updates for: ' + filePath);
}
});
};

View File

@ -28,6 +28,7 @@
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 4
},
"files": [

View File

@ -944,7 +944,7 @@
$(that.suggestionsContainer).scrollTop(offsetTop);
} else if (offsetTop > lowerBound) {
$(that.suggestionsContainer).scrollTop(
offsetTop - that.options.maxHeight + heightDelta,
offsetTop - that.options.maxHeight + heightDelta
);
}