docs.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 28 Jun 2010 10:39:06 +0000 (18:39 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 28 Jun 2010 10:39:06 +0000 (18:39 +0800)
docs.js

diff --git a/docs.js b/docs.js
index 4586039..4cd12b5 100644 (file)
--- a/docs.js
+++ b/docs.js
@@ -48,7 +48,7 @@ ns_list = ns_list.sort();
 langs=[];
 File.list(__script_path__ + '/templates/').forEach(function(f) {
     if (!File.isDirectory(__script_path__ + '/templates/' + f)) {
 langs=[];
 File.list(__script_path__ + '/templates/').forEach(function(f) {
     if (!File.isDirectory(__script_path__ + '/templates/' + f)) {
-        continue;
+        return;
     }
     if (f == 'resources') {
         return;
     }
     if (f == 'resources') {
         return;