mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 19:05:45 +01:00
Minorish changes.
This commit is contained in:
@@ -275,9 +275,9 @@ var ConfigBase = Class("ConfigBase", {
|
||||
/** @property {boolean} True if the OS is Mac OS X. */
|
||||
get isMacOSX() this._arch == "Darwin",
|
||||
/** @property {boolean} True if the OS is some other *nix variant. */
|
||||
get isUnix() !this.isWindows && !this.isMacOSX,
|
||||
get isUnix() !this.isWindows,
|
||||
/** @property {RegExp} A RegExp which matches illegal characters in path components. */
|
||||
get illegalCharacters() this.isWindows ? /[<>:"/\\|?*\x00-\x1f]/g : /\//g,
|
||||
get illegalCharacters() this.isWindows ? /[<>:"/\\|?*\x00-\x1f]/g : /[\/\x00]/g,
|
||||
|
||||
get pathListSep() this.isWindows ? ";" : ":"
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user