Skip to content

Instantly share code, notes, and snippets.

@sfentress
Created November 18, 2015 19:54
Show Gist options
  • Save sfentress/5ec336cc5a3f123d67dd to your computer and use it in GitHub Desktop.
Save sfentress/5ec336cc5a3f123d67dd to your computer and use it in GitHub Desktop.
// Stand-alone
fileManagerClient.init({
showMenu: true,
services: [
{
service: "ConcordCloud",
open: true,
save: true,
autosave: true
},
{
service: "LocalHost",
open: true,
save: true,
autosave: true
},
{
service: "Custom",
name: "CODAP Examples",
url: "http://example.com/files.json",
open: true,
save: false
}
],
init: {
loadFile: {
service: "ConcordCloud",
file: "demo.json"
}
}
});
// LARA
fileManagerClient.init({
showMenu: false,
services: [],
init: {
loadFile: {
service: "ConcordCloud",
file: {
urlParam: "openFile"
}
},
saveFile: {
service: "ConcordCloud",
file: {
urlParam: "saveFile"
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment