mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 03:34:12 +01:00
Fix arg maps.
This commit is contained in:
@@ -761,7 +761,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
isDomainURL: function isDomainURL(url, domain) util.isSubdomain(util.getHost(url), domain),
|
||||
|
||||
/** Dactyl's notion of the current operating system platform. */
|
||||
OS: {
|
||||
OS: memoize({
|
||||
_arch: services.runtime.OS,
|
||||
/**
|
||||
* @property {string} The normalised name of the OS. This is one of
|
||||
@@ -776,7 +776,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
get isUnix() !this.isWindows && !this.isMacOSX,
|
||||
/** @property {RegExp} A RegExp which matches illegal characters in path components. */
|
||||
get illegalCharacters() this.isWindows ? /[<>:"/\\|?*\x00-\x1f]/ : /\//
|
||||
},
|
||||
}),
|
||||
|
||||
/**
|
||||
* Returns true if *host* is a subdomain of *domain*.
|
||||
|
||||
Reference in New Issue
Block a user