server/java/renkan-web/src/main/webapp/static/js/config.js
author rougeronj
Wed, 16 Sep 2015 17:36:46 +0200
changeset 524 904effa4b6d7
parent 497 3ba7920facf4
child 561 5feabdc61980
permissions -rw-r--r--
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'
	}],
};