21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
-
+
-
+
-
+
-
+
-
+
|
for (let [sOpt, sColor] of Object.entries(dOptColor)) {
dColor[sOpt] = dColorType[sColor];
}
return dColor;
}
catch (e) {
console.error(e);
return {}
return {};
}
},
lStructOpt: ${lStructOpt},
dOpt: {
"JavaScript": new Map (${dOptJavaScript}),
"Firefox": new Map (${dOptFirefox}),
"Thunderbird": new Map (${dOptThunderbird}),
},
dColorType: ${dColorType},
dOptColor: ${dOptColor},
dOptLabel: ${dOptLabel}
}
};
if (typeof(exports) !== 'undefined') {
exports.getOptions = gc_options.getOptions;
exports.getOptions = gc_options.getOptions;
exports.getOptionsColors = gc_options.getOptionsColors;
exports.lStructOpt = gc_options.lStructOpt;
exports.lStructOpt = gc_options.lStructOpt;
exports.dOpt = gc_options.dOpt;
exports.dColorType = gc_options.dColorType;
exports.dOptColor = gc_options.dOptColor;
exports.dOptLabel = gc_options.dOptLabel;
exports.dOptLabel = gc_options.dOptLabel;
}
|