docs.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 5 Sep 2010 14:43:50 +0000 (22:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 5 Sep 2010 14:43:50 +0000 (22:43 +0800)
docs.js

diff --git a/docs.js b/docs.js
index a34e3ef..df43e06 100644 (file)
--- 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
+});