rebuild embeds

Change-Id: I4e23ec211a5f14938eba250abcdc36e031f8f8a7
This commit is contained in:
Brad Fitzpatrick 2013-02-07 19:33:59 -08:00
parent 51d79e8759
commit 78ccdc24e9
2 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ import "time"
import "camlistore.org/pkg/fileembed"
func init() {
Files.Add("camli.js", 17008, fileembed.String("/*\n"+
Files.Add("camli.js", 17024, fileembed.String("/*\n"+
"Copyright 2011 Google Inc.\n"+
"\n"+
"Licensed under the Apache License, Version 2.0 (the \"License\");\n"+
@ -492,7 +492,7 @@ func init() {
"};\n"+
"\n"+
"// pn: permanode to find a good title of\n"+
"// jdes: describe response of root permanode\n"+
"// des: a describe \"meta\" map from blobref to DescribedBlob.\n"+
"function camliBlobTitle(pn, des) {\n"+
" var d = des[pn];\n"+
" if (!d) {\n"+
@ -541,5 +541,5 @@ func init() {
" }\n"+
" fn.apply(null, Array.prototype.slice.call(arguments, 1));\n"+
"}\n"+
""), time.Unix(0, 1359675908724750359))
""), time.Unix(0, 1360259901380858573))
}

View File

@ -7,7 +7,7 @@ import "time"
import "camlistore.org/pkg/fileembed"
func init() {
Files.Add("index.js", 10843, fileembed.String("/*\n"+
Files.Add("index.js", 10853, fileembed.String("/*\n"+
"Copyright 2012 Camlistore Authors.\n"+
"\n"+
"Licensed under the Apache License, Version 2.0 (the \"License\");\n"+
@ -129,7 +129,7 @@ func init() {
"// a div element, style as a thumbnail tile.\n"+
"function divFromResult(searchRes, i) {\n"+
" var result = searchRes.recent[i];\n"+
" var br = searchRes[result.blobref];\n"+
" var br = searchRes.meta[result.blobref];\n"+
" var divperm = document.createElement(\"div\");\n"+
" CamliIndexPage.setThumbBoxStyle(divperm);\n"+
"\n"+
@ -194,7 +194,7 @@ func init() {
" alink.appendChild(img);\n"+
" divperm.appendChild(alink);\n"+
" var title = document.createElement(\"p\");\n"+
" Camli.setTextContent(title, camliBlobTitle(br.blobRef, searchRes));\n"+
" Camli.setTextContent(title, camliBlobTitle(br.blobRef, searchRes.meta));\n"+
" title.className = 'camli-ui-thumbtitle';\n"+
" title.style.fontSize = CamliIndexPage.thumbFontSize();\n"+
" divperm.appendChild(title);\n"+
@ -367,5 +367,5 @@ func init() {
"};\n"+
"\n"+
"window.addEventListener(\"load\", CamliIndexPage.onLoad);\n"+
""), time.Unix(0, 1358715374000000000))
""), time.Unix(0, 1360259901380858573))
}