JSFiddle - React, Tailwind, and code Playground

by swoogie

JavaScript

var metas = Array.prototype.slice.call(document.getElementsByTagName('meta')).map(function (e) {
    return e.name;
}),
    metaNames = ["cg_n", "cg_s", "ad", "ac", "sv", "si_n", "si_p", "si_x", "si_cs", "ti", "sp", "pn_sku", "pn_id", "tx_u", "tx_s", "tx_e", "tx_cartid", "tx_i", "tx_id", "tx_it", "mc_id", "mc_ev", "seg_1", "seg_2", "seg_3", "seg_4", "pi", "oss", "oss_r", "rv", "rss_f", "rss_a", "rss_ev", "clip_t", "clip_n", "clip_ev", "ria_a", "ria_c", "ria_f", "ria_ev", "cgm_t", "cgm_ev", "test_v", "dcsvid"];

_.each(metaNames, function (e) {
    ok(_.contains(metas, "WT." + e), e + " is included in the meta tags");
})