feature(cloudfunc) buildFromJSON: change params

This commit is contained in:
coderaiser 2014-05-24 12:06:13 -04:00
parent 1cbd959a46
commit 913fc2f7ce
3 changed files with 32 additions and 12 deletions

View file

@ -275,7 +275,15 @@
var panel, data;
if (!error) {
panel = CloudFunc.buildFromJSON(json, FileTemplate, PathTemplate, LinkTemplate),
panel = CloudFunc.buildFromJSON({
data: json,
template: {
file: FileTemplate,
path: PathTemplate,
link: LinkTemplate
}
}),
data = indexProcessing({
panel : panel,
data : template,