mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-24 21:57:37 +00:00
Cleanup build script
This commit is contained in:
parent
6e9a54fb7d
commit
4ef474dd4b
12
gruntfile.js
12
gruntfile.js
@ -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);
|
||||
}
|
||||
});
|
||||
};
|
@ -28,6 +28,7 @@
|
||||
"prettier": {
|
||||
"printWidth": 100,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"tabWidth": 4
|
||||
},
|
||||
"files": [
|
||||
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user