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

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