Note to self
authorMichael Ang <mang@archive.org>
Sun, 17 Oct 2010 07:55:20 +0000 (07:55 +0000)
committerMichael Ang <mang@archive.org>
Sun, 17 Oct 2010 07:55:20 +0000 (07:55 +0000)
BookReader/BookReader.js

index 7178d30..9940cdd 100644 (file)
@@ -4339,6 +4339,7 @@ BookReader.prototype.gotOpenLibraryRecord = function(self, olObject) {
     // $$$ could refactor this so that 'this' is available
     if (olObject) {
         if (olObject['table_of_contents']) {
+            // XXX check here that TOC is valid
             self.updateTOC(olObject['table_of_contents']);
         }
     }