Commit 742ddbd5 authored by Marc Duez's avatar Marc Duez
Browse files

app.js : require main.js only if there is no main function defined

parent a544499e
......@@ -41,5 +41,9 @@ require(["d3.v3",
"../shortcut",
"../export"
], function(){
require(["../main"]);
if (typeof main == "undefined"){
require(["../main"]);
}else{
main();
}
})
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