improve view management:
- we can pass a negative view index, in this case we count from the end of the list of view
- before creating/changing the view representation, we remove the previous one and reinitialize the node visibility
- each time we save a view, it creates a new one at the end of the list
- "restore" view loads the last view of the list
//
// Config file. Split out from the app for ease of overlaying a new config
// without affecting the app controller.
//
// Copyright (c) The Dojo Foundation 2011. All Rights Reserved.
//
var dojoConfig = {
baseUrl: '/renkan/',
async:true,
paths : {
coweb : 'lib/coweb',
cowebx: 'lib/cowebx',
org : 'lib/org',
corenkan: 'static/js/corenkan',
rcolor: 'static/lib/rcolor',
underscore: 'static/lib/lodash/lodash',
jquery: 'static/lib/jquery/jquery',
filesaver: 'static/lib/FileSaver/FileSaver',
'ckeditor': 'static/lib/ckeditor/ckeditor-umd',
'ckeditor-jquery': 'static/lib/ckeditor/adapters/jquery-umd',
},
packages:[{
name: 'dojo',
location:'static/lib/dojo',
main:'main'
}],
};