Skip to content

Commit

Permalink
Se agregan archivos de media y api key para rextester
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico-G committed Sep 6, 2021
1 parent 696782e commit 103a62e
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ node_modules/

# dotenv environment variables file
.env

# Ignore secret
public/js/secret.js
Binary file added media/Presentacion comercial.pptx
Binary file not shown.
Binary file added media/Video presentacion.mp4
Binary file not shown.
Binary file added media/poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/poster.psd.zip
Binary file not shown.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ <h5 class="modal-title" id="symbol-table-label">Tabla de símbolos</h5>
<script src='js/menu.js'></script>
<script src='js/step.js'></script>
<script src='tf.js'></script>
<script src='js/secret.js'></script>

<script src='js/code/Console.js'></script>
<script src='js/code/Node.js'></script>
Expand Down
3 changes: 2 additions & 1 deletion public/js/language/c/solver.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ dg.language.solve = function(type, expression, symbolTable) {
"LanguageChoice": "6", // C
"Program": program,
"Input": "",
"CompilerArgs": "-Wall -std=gnu99 -fcompare-debug-second -O1 -o a.out source_file.c"
"CompilerArgs": "-Wall -std=gnu99 -fcompare-debug-second -O1 -o a.out source_file.c",
"ApiKey": dg.REXTESTER_API_KEY
};

$.ajax({
Expand Down
1 change: 1 addition & 0 deletions public/js/secret.js.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dg.REXTESTER_API_KEY = ""

0 comments on commit 103a62e

Please sign in to comment.