mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 16:12:27 +01:00
Fix Scriptio.jsmCONTEXT value.
This commit is contained in:
@@ -190,7 +190,8 @@ var Contexts = Module("contexts", {
|
||||
let name = isPlugin ? file.getRelativeDescriptor(isPlugin).replace(File.PATH_SEP, "-")
|
||||
: file.leafName;
|
||||
|
||||
self = update(args && !isArray(args) ? args : newContext.apply(null, args || [userContext]), {
|
||||
self = args && !isArray(args) ? args : newContext.apply(null, args || [userContext]);
|
||||
update(self, {
|
||||
NAME: Const(name.replace(/\.[^.]*$/, "").replace(/-([a-z])/g, function (m, n1) n1.toUpperCase())),
|
||||
|
||||
PATH: Const(file.path),
|
||||
|
||||
Reference in New Issue
Block a user