mirror of
https://github.com/silicoflare/silicoflare-website.git
synced 2026-05-26 20:17:58 +05:30
edited scilab
This commit is contained in:
@@ -59,11 +59,6 @@
|
|||||||
var count = 0
|
var count = 0
|
||||||
var finalCode = ""
|
var finalCode = ""
|
||||||
|
|
||||||
function copyCode() {
|
|
||||||
navigator.clipboard.writeText(finalCode);
|
|
||||||
window.alert("Copied to clipboard!");
|
|
||||||
}
|
|
||||||
|
|
||||||
function delValue(num) {
|
function delValue(num) {
|
||||||
var divi = document.getElementById("value"+num);
|
var divi = document.getElementById("value"+num);
|
||||||
divi.remove();
|
divi.remove();
|
||||||
@@ -148,6 +143,11 @@
|
|||||||
"\nxstring(0.5, 7, ['Y-AXIS: 1 pH (starts from 2)'])";
|
"\nxstring(0.5, 7, ['Y-AXIS: 1 pH (starts from 2)'])";
|
||||||
codeArea.innerText = finalCode;
|
codeArea.innerText = finalCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function copyCode() {
|
||||||
|
navigator.clipboard.writeText(finalCode);
|
||||||
|
window.alert("Copied to clipboard!");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -59,11 +59,6 @@
|
|||||||
var count = 0
|
var count = 0
|
||||||
var finalCode = ""
|
var finalCode = ""
|
||||||
|
|
||||||
function copyCode() {
|
|
||||||
navigator.clipboard.writeText(finalCode);
|
|
||||||
window.alert("Copied to clipboard!");
|
|
||||||
}
|
|
||||||
|
|
||||||
function delValue(num) {
|
function delValue(num) {
|
||||||
var divi = document.getElementById("value"+num);
|
var divi = document.getElementById("value"+num);
|
||||||
divi.remove();
|
divi.remove();
|
||||||
@@ -147,6 +142,11 @@
|
|||||||
finalCode += "\nxstring(5.5, 525, ['SRN: "+document.getElementById("srn").value+"'])";
|
finalCode += "\nxstring(5.5, 525, ['SRN: "+document.getElementById("srn").value+"'])";
|
||||||
codeArea.innerText = finalCode;
|
codeArea.innerText = finalCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function copyCode() {
|
||||||
|
navigator.clipboard.writeText(finalCode);
|
||||||
|
window.alert("Copied to clipboard!");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user