Minor cleanups. Basic infrastructure for restoring video playback state (but unfinished)

This commit is contained in:
Piotr Mitros
2011-12-11 19:42:55 -05:00
parent 7b578b835a
commit 0a075b5e00
3 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
// CRITICAL TODO: Namespace
var files=["",
%for t in items:
${t[1]['content']} ,
@@ -5,10 +7,17 @@ var files=["",
""
];
var functions=["",
%for t in items:
function(){ ${t[1]['js']} },
%endfor
""];
var loc;
function goto(i) {
$('#content').html(files[i]);
functions[i]()
loc=i;
}