mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-19 22:50:22 +00:00
Fix for safary.
This commit is contained in:
@@ -3,7 +3,21 @@
|
||||
globalVersion = 75;
|
||||
|
||||
{
|
||||
let asyncFilesLoad = null;
|
||||
let asyncFilesLoad = function () {
|
||||
doIncludeAsync ([
|
||||
include ("shared/canvas2svg.js"),
|
||||
include ("features/group_rename_handler/index.js"),
|
||||
include ("features/saved_graph_handler/index.js"),
|
||||
include ("features/saved_graph_image_handler/index.js"),
|
||||
include ("features/show_adjacency_matrix/index.js"),
|
||||
include ("features/show_distance_matrix/index.js"),
|
||||
include ("features/show_incidence_matrix/index.js"),
|
||||
include ("features/setup_background_style/index.js"),
|
||||
include ("features/setup_edge_style/index.js"),
|
||||
include ("features/setup_vertex_style/index.js"),
|
||||
]);
|
||||
}
|
||||
|
||||
function onloadEditor() {
|
||||
console.log("onload() call");
|
||||
asyncFilesLoad();
|
||||
@@ -36,20 +50,4 @@ globalVersion = 75;
|
||||
include ("ui/main.js", modulDir)],
|
||||
onloadEditor);
|
||||
|
||||
|
||||
asyncFilesLoad = function () {
|
||||
doIncludeAsync ([
|
||||
include ("shared/canvas2svg.js"),
|
||||
include ("features/group_rename_handler/index.js"),
|
||||
include ("features/saved_graph_handler/index.js"),
|
||||
include ("features/saved_graph_image_handler/index.js"),
|
||||
include ("features/show_adjacency_matrix/index.js"),
|
||||
include ("features/show_distance_matrix/index.js"),
|
||||
include ("features/show_incidence_matrix/index.js"),
|
||||
include ("features/setup_background_style/index.js"),
|
||||
include ("features/setup_edge_style/index.js"),
|
||||
include ("features/setup_vertex_style/index.js"),
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user