mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 04:45:12 +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 {
|
} else {
|
||||||
console.log('No updates for: ' + filePath);
|
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": {
|
"prettier": {
|
||||||
"printWidth": 100,
|
"printWidth": 100,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
|
"trailingComma": "es5",
|
||||||
"tabWidth": 4
|
"tabWidth": 4
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -944,7 +944,7 @@
|
|||||||
$(that.suggestionsContainer).scrollTop(offsetTop);
|
$(that.suggestionsContainer).scrollTop(offsetTop);
|
||||||
} else if (offsetTop > lowerBound) {
|
} else if (offsetTop > lowerBound) {
|
||||||
$(that.suggestionsContainer).scrollTop(
|
$(that.suggestionsContainer).scrollTop(
|
||||||
offsetTop - that.options.maxHeight + heightDelta,
|
offsetTop - that.options.maxHeight + heightDelta
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user