1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 03:32:28 +01:00

Replace util.isOS with a platform queryable util.OS object.

--HG--
extra : rebase_source : 2a00dd4e3a023c9de11818bb95d86d9901341c6a
This commit is contained in:
Doug Kearns
2010-11-08 05:34:57 +11:00
parent 7787f0a2ce
commit a8b16ec635
6 changed files with 29 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ const Editor = Module("editor", {
selectedText: function () String(Editor.getEditor(null).selection),
pasteClipboard: function (clipboard, toStart) {
if (util.isOS("WINNT")) {
if (util.OS.isWindows) {
this.executeCommand("cmd_paste");
return;
}