Commit bac84808 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-c/3929-addons' into 'dev'

js/app.js: Load extra scripts depending on the administrator

Closes #3929

See merge request !481
parents ce69f30b 77f81d48
Pipeline #82812 passed with stages
in 48 minutes and 32 seconds
......@@ -85,6 +85,9 @@ function loadAfterConf() {
}else{
main();
}
if (typeof config.addons !== "undefined") {
require(config.addons);
}
})
})
},
......
......@@ -53,6 +53,9 @@ var config = {
/* Do we have access to a CloneDB ? */
"clonedb": false,
/* Load extra scripts */
/* "addons" : ["js/lib/important-lib.js", "js/myscript.js"], */
/****************
* Tips of the day
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment