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

diff --git a/docs.js b/docs.js
index 6a142b3..137247b 100644 (file)
--- a/docs.js
+++ b/docs.js
@@ -163,7 +163,7 @@ langs.forEach(function(lang) {
           continue;
         }
         
-        refs = langs.reference_template.process(NameSpace.references[i]);
+        refs = langs[lang].reference_template.process(NameSpace.references[i]);
 
           // HTML to put refs into
         html =  File.read(html_file_path);