Last active 4 days ago

swee revised this gist 4 days ago. Go to revision

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 4 days ago. Go to revision

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 4 days ago. Go to revision

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)")}
Newer Older