Hints on progress bars

This commit is contained in:
Eric Fredricksen
2010-07-06 11:24:50 -07:00
parent dec74c856f
commit 30fdc53eef
5 changed files with 46 additions and 23 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ function tabulate(html) {
}
function template(id, data) {
var tmpl = $("#" + id).html();
function template(tmpl, data) {
var brag = tmpl.replace(/\$([_A-Za-z.]+)/g, function (str, p1) {
var dict = data;
$.each(p1.split("."), function (i,v) {