This file contains hidden or 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
<div class = 'box' id = 'box_1'> | |
<b>Bloque JH 1</b> | |
</div> | |
<div class = 'box' id = 'box_2'> | |
<b>Bloque JH 2</b> | |
</div> | |
<div class = 'box' id = 'box_3'> | |
<b>Bloque JH 3</b> | |
</div> |
This file contains hidden or 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
<div id = 'circulo'> | |
<b>Botón</b> | |
</div> |
This file contains hidden or 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
<div id = 'circulo'> | |
<b>Botón</b> | |
</div> |
This file contains hidden or 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
<div id = 'circulo'> | |
<b>Botón</b> | |
</div> |
This file contains hidden or 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
var FPS = movement.BASE - movement.BASE * ((dataLCD.SPEED - 1) * movement.PERCENTAGE) / 100; | |
input.ENTER.press = function(event) | |
{ | |
//Tiempo en que se considerará que el botón está sostenido... | |
//0 no tendrá está propiedad... | |
this.timePress = 0.5; | |
}; | |
input.LEFT.press = function(event) | |
{ |
This file contains hidden or 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
var a = [1,2,3,4,5]; | |
var expresion = true; | |
var resultado = expresion ? (function() | |
{ | |
var valores = []; | |
for(var i = 0; i < a.length; i++) | |
{ | |
valores.push(a[i]); | |
} | |
return valores; |
This file contains hidden or 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
let conectaDB = (query, callback) => | |
{ | |
//Realiza la operación de conexión a una base de datos por ejemplo... | |
callback(false, data); | |
}; | |
//Invocar la función.... | |
conectaDB(query, (err, data) => | |
{ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains hidden or 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
const PRECACHE = 'trivia-precache-v12'; | |
const RUNTIME = 'runtime'; | |
const PRECACHE_URLS = [ | |
'/', | |
'/game/img/loader4.gif', | |
'/game/css/all.css', | |
'/game/js/build.min.js', | |
'/game/sound/sounds.mp3', | |
]; |
OlderNewer