swee

swee / TechSmart cheat

Last active 3 months ago

Like 0

swee revised this gist 3 months ago · 13c886a

1 file changed, 1 insertion, 1 deletion

tscheat.js
@@ -1 +1 @@
1 - if("solution" in tsProjectInfos){let currentFile=document.querySelector(".mdl-tabs__tab.ts-editor-tab.is-active").innerText;tsProjectInfos.solution.textFileInfos.forEach((file)=>{if (file.name===currentFile){console.warn(file.content)}})}else{console.warn("No solution found (probably a personal project)")}
1 + if("solution" in tsProjectInfos){let currentFile=document.querySelector(".mdl-tabs__tab.ts-editor-tab.is-active").innerText;tsProjectInfos.solution.textFileInfos.forEach((file)=>{if (file.name===currentFile){console.warn(file.content)}})}else{console.error("No solution found (probably a personal project)")}

swee revised this gist 3 months ago · 4a21253

1 file changed, 1 insertion, 1 deletion

tscheat.js
@@ -1 +1 @@
1 - if("solution" in tsProjectInfos){let currentFile=document.querySelector(".mdl-tabs__tab.ts-editor-tab.is-active").innerText;tsProjectInfos.solution.textFileInfos.forEach((file) => {if (file.name === currentFile){ console.warn(file.content); }});}else{alert("No solution found (probably a personal project)")}
1 + if("solution" in tsProjectInfos){let currentFile=document.querySelector(".mdl-tabs__tab.ts-editor-tab.is-active").innerText;tsProjectInfos.solution.textFileInfos.forEach((file)=>{if (file.name===currentFile){console.warn(file.content)}})}else{console.warn("No solution found (probably a personal project)")}

swee revised this gist 3 months ago · 5a6e4e8

1 file changed, 1 insertion

tscheat.js (file created)
@@ -0,0 +1 @@
1 + if("solution" in tsProjectInfos){let currentFile=document.querySelector(".mdl-tabs__tab.ts-editor-tab.is-active").innerText;tsProjectInfos.solution.textFileInfos.forEach((file) => {if (file.name === currentFile){ console.warn(file.content); }});}else{alert("No solution found (probably a personal project)")}