]> gitweb.factorcode.org Git - factor.git/blob - basis/bootstrap/ui/ui.factor
Change a throw to rethrow so that we don't lose the original stack trace
[factor.git] / basis / bootstrap / ui / ui.factor
1 USING: alien namespaces system combinators kernel sequences
2 vocabs vocabs.loader ;
3 IN: bootstrap.ui
4
5 "bootstrap.compiler" vocab [
6     "ui-backend" get [
7         {
8             { [ os macosx? ] [ "cocoa" ] }
9             { [ os windows? ] [ "windows" ] }
10             { [ os unix? ] [ "x11" ] }
11         } cond
12     ] unless* "ui." prepend require
13
14     "ui.freetype" require
15 ] when