update dependencies and various tweaks (#7344)
- ran `make npm-update` - ran `make js`, fixed new lint issue - ran `make css`, this added back some vendor prefixes - added `engines` property to package.json to specify minimum required Node.js version - added `private` property to package.json to prevent accidential publishing to npm
This commit is contained in:
parent
c39df04087
commit
68ec7b8be9
4 changed files with 172 additions and 262 deletions
|
@ -396,18 +396,16 @@ function initCommentForm() {
|
|||
hasLabelUpdateAction = $listMenu.data('action') == 'update'; // Update the var
|
||||
if (hasLabelUpdateAction) {
|
||||
var promises = [];
|
||||
for (var elementId in labels) {
|
||||
if (labels.hasOwnProperty(elementId)) {
|
||||
var label = labels[elementId];
|
||||
var promise = updateIssuesMeta(
|
||||
label["update-url"],
|
||||
label["action"],
|
||||
label["issue-id"],
|
||||
elementId
|
||||
);
|
||||
promises.push(promise);
|
||||
}
|
||||
}
|
||||
Object.keys(labels).forEach(function(elementId) {
|
||||
var label = labels[elementId];
|
||||
var promise = updateIssuesMeta(
|
||||
label["update-url"],
|
||||
label["action"],
|
||||
label["issue-id"],
|
||||
elementId
|
||||
);
|
||||
promises.push(promise);
|
||||
});
|
||||
Promise.all(promises).then(reload);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue