teal-language / teal-language/teal-language.github.io

tl.lua gets fetched by Fengari twice?

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi @daurnimator — this issue is really not important but I'm pinging you just in case there's an obvious/simple solution.

This repo hosts the files for teal-language.org; when loading the page with the Firefox Dev Tools' Network monitor, I see tl.lua being fetched twice by fengari-web.js. Do you know why that would be? My loader logic is at teal.js which is a small script loaded by index.html after loading fengari-web.js.

Any hints welcome, but no rush! Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting teal.js and index.html, then reproduce the page load with Firefox DevTools' Network monitor. Compare the two tl.lua requests and trace how fengari-web.js and the loader are included. Done means identifying the duplicate request's cause and ensuring tl.lua is fetched only once, if that is the intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, lua
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.