1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:08:00 +01:00

Replace dactyl.has(OS) with util.isOS.

This commit is contained in:
Doug Kearns
2010-10-17 23:22:53 +11:00
parent e8caf78170
commit d170fda0e3
7 changed files with 26 additions and 20 deletions

View File

@@ -1216,7 +1216,7 @@ const Buffer = Module("buffer", {
let arg = args[0];
// FIXME: arg handling is a bit of a mess, check for filename
dactyl.assert(!arg || arg[0] == ">" && !dactyl.has("WINNT"),
dactyl.assert(!arg || arg[0] == ">" && !util.isOS("WINNT"),
"E488: Trailing characters");
prefs.withContext(function () {