-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadLocal.dot
26 lines (22 loc) · 967 Bytes
/
readLocal.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// dot -Tsvg readLocal.dot > readLocal.svg
digraph "reading local file using jQuery.get" {
overlap = scale;
// rankdir=LR;
ok [ label="OK" ];
html [ label="open html as?" ];
browser [ label="browser?" ];
chromium [ label="--allow-file-access-from-files\noption available?" ];
firefox [ label="strict_origin_policy?" ];
using [ label="using?" ];
no [ label="NO!"; fontcolor="red" ];
html -> ok [ label="http://" ];
html -> browser [ label="file:///"; ];
browser -> chromium [ label="chromium\nopera" ];
chromium -> ok [ label="yes" ];
chromium -> no [ label="no\n(e.g. on android)"; fontcolor="red" ];
browser -> firefox [ label="firefox"; ];
firefox -> no [ label="True"; fontcolor="red" ];
firefox -> using [ label="False"; ];
using -> ok [ label="jQuery.getJSON\njQuery.get+window.setTimeout" ];
using -> no [ label="jQuery.get callback\njQuery.when jQuery.done"; fontcolor="red" ];
}