mirror of https://github.com/perkeep/perkeep.git
rebuild embeds
Change-Id: I4e23ec211a5f14938eba250abcdc36e031f8f8a7
This commit is contained in:
parent
51d79e8759
commit
78ccdc24e9
|
@ -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))
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue