From 5b08ce822fa85f8e9b4f3578e991e7e897c234fe Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 5 Sep 2010 22:43:50 +0800 Subject: [PATCH] docs.js --- docs.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs.js b/docs.js index a34e3ef..df43e06 100644 --- a/docs.js +++ b/docs.js @@ -42,7 +42,11 @@ if (typeof(Seed.argv[3]) == 'string') { } ns_list = ns_list.sort(); - +// let's try and load them, so we find out early what will fail. +ns_list.forEach(function(ns_name) +{ + var core = imports.gi[ns_name]; +} // which languages do we want to output for. langs=[]; @@ -181,4 +185,4 @@ langs.forEach(function(lang) { Gio.simple_write(outputdir + '/' + lang.name + '/index.html', ix_template.process(ns_idx)); File.silentRecursiveCopy(__script_path__ + '/templates/resources/', outputdir + '/' + lang.name , Gio.FileCopyFlags.OVERWRITE); -}); \ No newline at end of file +}); -- 2.39.2