--- /dev/null
+John Benediktsson
--- /dev/null
+! Copyright (C) 2011 John Benediktsson
+! See http://factorcode.org/license.txt for BSD license
+
+USING: io.launcher kernel sequences system webbrowser ;
+
+IN: webbrowser.linux
+
+M: linux open-file ( path -- )
+ { "xdg-open" } swap suffix try-process ;
--- /dev/null
+! Copyright (C) 2011 John Benediktsson
+! See http://factorcode.org/license.txt for BSD license
+
+USING: io.launcher kernel sequences system webbrowser ;
+
+IN: webbrowser.macosx
+
+M: macosx open-file ( path -- )
+ { "open" } swap suffix try-process ;
--- /dev/null
+Open URLs in your web browser
--- /dev/null
+! Copyright (C) 2011 John Benediktsson
+! See http://factorcode.org/license.txt for BSD license
+
+USING: help.markup help.syntax strings webbrowser ;
+
+IN: webbrowser
+
+HELP: open-file
+{ $values { "path" string } }
+{ $description
+ "Open a specified file or directory using the default "
+ "application, similar to double-clicking the file's icon."
+} ;
+
+HELP: open-url
+{ $values { "url" string } }
+{ $description
+ "Open a specified url in the default web browser."
+} ;
--- /dev/null
+! Copyright (C) 2011 John Benediktsson
+! See http://factorcode.org/license.txt for BSD license
+
+USING: combinators present system ui.operations urls vocabs ;
+
+IN: webbrowser
+
+HOOK: open-file os ( path -- )
+
+{
+ { [ os macosx? ] [ "webbrowser.macosx" ] }
+ { [ os linux? ] [ "webbrowser.linux" ] }
+ { [ os windows? ] [ "webbrowser.windows" ] }
+} cond require
+
+: open-url ( url -- )
+ >url present open-file ;
+
+[ url? ] \ open-url H{ } define-operation
--- /dev/null
+! Copyright (C) 2011 John Benediktsson
+! See http://factorcode.org/license.txt for BSD license
+
+USING: system kernel webbrowser windows.shell32 windows.user32 ;
+
+IN: webbrowser.windows
+
+M: windows open-file ( path -- )
+ [ f "open" ] dip f f SW_SHOWNORMAL ShellExecute drop ;
+++ /dev/null
-John Benediktsson
+++ /dev/null
-! Copyright (C) 2011 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: io.launcher kernel sequences system webbrowser ;
-
-IN: webbrowser.linux
-
-M: linux open-file ( path -- )
- { "xdg-open" } swap suffix try-process ;
+++ /dev/null
-! Copyright (C) 2011 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: io.launcher kernel sequences system webbrowser ;
-
-IN: webbrowser.macosx
-
-M: macosx open-file ( path -- )
- { "open" } swap suffix try-process ;
+++ /dev/null
-Open URLs in your web browser
+++ /dev/null
-! Copyright (C) 2011 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: help.markup help.syntax strings webbrowser ;
-
-IN: webbrowser
-
-HELP: open-file
-{ $values { "path" string } }
-{ $description
- "Open a specified file or directory using the default "
- "application, similar to double-clicking the file's icon."
-} ;
-
-HELP: open-url
-{ $values { "url" string } }
-{ $description
- "Open a specified url in the default web browser."
-} ;
+++ /dev/null
-! Copyright (C) 2011 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: combinators present system ui.operations urls vocabs ;
-
-IN: webbrowser
-
-HOOK: open-file os ( path -- )
-
-{
- { [ os macosx? ] [ "webbrowser.macosx" ] }
- { [ os linux? ] [ "webbrowser.linux" ] }
- { [ os windows? ] [ "webbrowser.windows" ] }
-} cond require
-
-: open-url ( url -- )
- >url present open-file ;
-
-[ url? ] \ open-url H{ } define-operation
+++ /dev/null
-! Copyright (C) 2011 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: system kernel webbrowser windows.shell32 windows.user32 ;
-
-IN: webbrowser.windows
-
-M: windows open-file ( path -- )
- [ f "open" ] dip f f SW_SHOWNORMAL ShellExecute drop ;