server/java/renkan-web/src/main/webapp/static/js/config.js
author rougeronj
Tue, 22 Sep 2015 15:14:10 +0200
changeset 543 5f7bebdcfc0d
parent 497 3ba7920facf4
child 561 5feabdc61980
permissions -rw-r--r--
Improve the way we init the view. The data loader send a "loaded" event, hooked by the scene.py and initializing the backbone.history and the view. We don't use redraw_active in save-once and full-json, because it was making the view initialization dependent of these file which are externals. Small fix to hide the "set saved view" button when there is only one view.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
//
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
// Config file. Split out from the app for ease of overlaying a new config
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
// without affecting the app controller.
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
//
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
// Copyright (c) The Dojo Foundation 2011. All Rights Reserved.
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
//
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
var dojoConfig = {
58
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 56
diff changeset
     8
	baseUrl: '/renkan/',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
	async:true,
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
	paths : {
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
	   coweb : 'lib/coweb',
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
	   cowebx: 'lib/cowebx',
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    13
	   org : 'lib/org',
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    14
	   corenkan: 'static/js/corenkan',
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    15
	   rcolor: 'static/lib/rcolor',
435
e529b633c339 Add shape management, correction on shape manip[ulation on the client, correct 404 error on space creation, increment version
ymh <ymh.work@gmail.com>
parents: 394
diff changeset
    16
	   underscore: 'static/lib/lodash/lodash',
394
1e60ba9ae38b css corrections on link in node description - correct dojo library config - deactivate image upload
ymh <ymh.work@gmail.com>
parents: 316
diff changeset
    17
	   jquery: 'static/lib/jquery/jquery',
1e60ba9ae38b css corrections on link in node description - correct dojo library config - deactivate image upload
ymh <ymh.work@gmail.com>
parents: 316
diff changeset
    18
	   filesaver: 'static/lib/FileSaver/FileSaver',
497
3ba7920facf4 Correct dependency and loading problem for ckeditor with dojo
ymh <ymh.work@gmail.com>
parents: 495
diff changeset
    19
	   'ckeditor': 'static/lib/ckeditor/ckeditor-umd',
3ba7920facf4 Correct dependency and loading problem for ckeditor with dojo
ymh <ymh.work@gmail.com>
parents: 495
diff changeset
    20
	   'ckeditor-jquery': 'static/lib/ckeditor/adapters/jquery-umd',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
	},
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    22
	packages:[{
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
		name: 'dojo',
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    24
		location:'static/lib/dojo',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
		main:'main'
435
e529b633c339 Add shape management, correction on shape manip[ulation on the client, correct 404 error on space creation, increment version
ymh <ymh.work@gmail.com>
parents: 394
diff changeset
    26
	}],
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
};