Artifact a6bfab91803b196e4b1d9bce7a5e578d65ee412671375b900efadbc5aec00e37:
- File gc_core/js/lang_core/gc_options.js — part of check-in [245cd4631d] at 2017-06-24 07:35:06 on branch trunk — [core][build] options according to context (applications) (user: olr, size: 514) [annotate] [blame] [check-ins using]
// Options for Grammalecte ${map} function getOptions (sContext="JavaScript") { if (dOpt.hasOwnProperty(sContext)) { return dOpt[sContext]; } return dOpt["JavaScript"]; } const lStructOpt = ${lStructOpt}; const dOpt = { "JavaScript": new Map (${dOptJavaScript}), "Firefox": new Map (${dOptFirefox}), "Thunderbird": new Map (${dOptThunderbird}), } const dOptLabel = ${dOptLabel}; exports.getOptions = getOptions; exports.lStructOpt = lStructOpt; exports.dOptLabel = dOptLabel;