This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run(); | |
function run(){ | |
let rawList = getRawProducts(); | |
let processedList = []; | |
let self = this; | |
rawList.forEach((item) => { | |
let categoryObj = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Style | |
// Dracula Theme link | |
// https://draculatheme.com/visual-studio-code/ | |
"workbench.colorTheme": "Dracula", | |
// Material Icon Theme link | |
// https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme | |
"workbench.iconTheme": "material-icon-theme", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
(self.AMP = self.AMP || []).push({ | |
m: 0, | |
v: "2203101844000", | |
n: "amp-ad", | |
ev: "0.1", | |
l: !0, | |
f: function(t, e) { | |
! function() { | |
function e(t, e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function executeFunction(name, arg = ''){ | |
let base = 'clear'; | |
if (typeof window[base + name] === 'function') { | |
if (arg == '') { | |
return window[base + name](arg); | |
} | |
return window[base + name]; | |
} | |
return false; | |
} |