@gedit/application-common
Advanced tools
Comparing version 0.1.59 to 0.1.60
@@ -86,6 +86,7 @@ "use strict"; | ||
var disposable = new utils_1.DisposableCollection(); | ||
disposable.pushAll(commands.map(function (cmd) { return _this.registerMenuAction(menuPath, { | ||
disposable.pushAll(commands.map(function (cmd, i) { return _this.registerMenuAction(menuPath, { | ||
commandId: cmd.id, | ||
label: cmd.label, | ||
icon: cmd.iconClass | ||
icon: cmd.iconClass, | ||
order: String(i), | ||
}); })); | ||
@@ -98,6 +99,7 @@ return disposable; | ||
disposable.push(this.registerSubmenu(menuPath, label, options)); | ||
disposable.pushAll(commands.map(function (cmd) { return (_this.registerMenuAction(menuPath, { | ||
disposable.pushAll(commands.map(function (cmd, i) { return (_this.registerMenuAction(menuPath, { | ||
commandId: cmd.id, | ||
label: cmd.label, | ||
icon: cmd.iconClass | ||
icon: cmd.iconClass, | ||
order: String(i) | ||
})); })); | ||
@@ -104,0 +106,0 @@ return disposable; |
{ | ||
"name": "@gedit/application-common", | ||
"version": "0.1.59", | ||
"version": "0.1.60", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "main": "lib/common/index", | ||
}, | ||
"gitHead": "4dfdc68e89ce9aeb3c38a970cfb38456f08f285f" | ||
"gitHead": "cb26efee4408f762aab24445d916164ea897fdfa" | ||
} |
@@ -89,6 +89,7 @@ /******************************************************************************** | ||
disposable.pushAll( | ||
commands.map(cmd => this.registerMenuAction(menuPath, { | ||
commands.map((cmd, i) => this.registerMenuAction(menuPath, { | ||
commandId: cmd.id, | ||
label: cmd.label, | ||
icon: cmd.iconClass | ||
icon: cmd.iconClass, | ||
order: String(i), | ||
})) | ||
@@ -102,7 +103,8 @@ ); | ||
disposable.pushAll( | ||
commands.map(cmd => ( | ||
commands.map((cmd, i) => ( | ||
this.registerMenuAction(menuPath, { | ||
commandId: cmd.id, | ||
label: cmd.label, | ||
icon: cmd.iconClass | ||
icon: cmd.iconClass, | ||
order: String(i) | ||
}) | ||
@@ -109,0 +111,0 @@ )) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 5 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 5 instances in 1 package
323605
5908