HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/bomacon/bomacon.nl/vendor/scrivo/highlight.php/test/detect/javascript/sample1.txt
// This was mis-detected as HSP and Perl because parsing of
// keywords in those languages allowed adjacent dots

window.requestAnimationFrame(function render() {
  var pos = state.pos;

  canvasEl.width = 500;
  canvasEl.height = 300;

  if (dpad.right) {
    pos.x += 3;
  } else if (dpad.left) {
    pos.x -= 3;
  }

  ctx.fillStyle = '#AF8452';
  ctx.fillRect(pos.x + 5, pos.y - 10, 10, 10);

  window.requestAnimationFrame(render);
});