<commit_before>/*

See https://raw.githubusercontent.com/mozilla/kumascript/master/macros/Compat.ejs

Run as `npm run render $query $depth $aggregateMode`
(same parameters as e.g. a {{compat("http.headers.Cache-Control", 1, true)}} call)

*/

const bcd = require('..');

var query = process.argv[2];
var depth = process.argv[3] || 1;
var aggregateMode = process.argv[4] || false;

var output = '';

var s_no_data_found = `No compatibility data found. Please contribute data for "${query}" (depth: ${depth}) to the <a href="https://github.com/mdn/browser-compat-data">MDN compatibility data repository</a>.`;
var s_firefox_android = 'Firefox for Android';
var s_chrome_android = 'Chrome for Android';

const browsers = {
  "desktop": {
    chrome: 'Chrome',
    edge: 'Edge',
    firefox: 'Firefox',
    ie: 'Internet Explorer',
    opera: 'Opera',
    safari: 'Safari',
  },
  "mobile": {
    webview_android: 'Android',
    chrome_android: s_chrome_android,
    edge_mobile: 'Edge mobile',
    firefox_android: s_firefox_android,
    ie_mobile: 'IE mobile',
    opera_android: 'Opera Android',
    safari_ios: 'iOS Safari',
  },
  "webextensions": {
    chrome: "Chrome",
    edge: "Edge",
    firefox: "Firefox",
    firefox_android: s_firefox_android,
    opera: "Opera",
  }
};

var notesArray = [];<commit_msg>Remove IE mobile from render output (#843)<commit_after>/*

See https://raw.githubusercontent.com/mozilla/kumascript/master/macros/Compat.ejs

Run as `npm run render $query $depth $aggregateMode`
(same parameters as e.g. a {{compat("http.headers.Cache-Control", 1, true)}} call)

*/

const bcd = require('..');

var query = process.argv[2];
var depth = process.argv[3] || 1;
var aggregateMode = process.argv[4] || false;

var output = '';

var s_no_data_found = `No compatibility data found. Please contribute data for "${query}" (depth: ${depth}) to the <a href="https://github.com/mdn/browser-compat-data">MDN compatibility data repository</a>.`;
var s_firefox_android = 'Firefox for Android';
var s_chrome_android = 'Chrome for Android';

const browsers = {
  "desktop": {
    chrome: 'Chrome',
    edge: 'Edge',
    firefox: 'Firefox',
    ie: 'Internet Explorer',
    opera: 'Opera',
    safari: 'Safari',
  },
  "mobile": {
    webview_android: 'Android',
    chrome_android: s_chrome_android,
    edge_mobile: 'Edge mobile',
    firefox_android: s_firefox_android,
    opera_android: 'Opera Android',
    safari_ios: 'iOS Safari',
  },
  "webextensions": {
    chrome: "Chrome",
    edge: "Edge",
    firefox: "Firefox",
    firefox_android: s_firefox_android,
    opera: "Opera",
  }
};

var notesArray = [];
{'fraction_non_alphanumeric': 0.15393386545039908, 'fraction_numerical': 0.0049410870391486126, 'mean_word_length': 4.042145593869732, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6293288', 'n_tokens_mistral': 924, 'n_tokens_neox': 901, 'n_words': 231}