codecollabspace / chatgpt_citations

A browser extension designed to generate BibTeX citations from chat conversations in OpenAI's ChatGPT interface.
MIT License
0 stars 0 forks source link

split content.js into multiple files #13

Closed mcquenji closed 10 months ago

mcquenji commented 10 months ago

The manifest files must be updated like below for this to work:

"js": [
        "scripts/utils.js",
        "scripts/api.js",
        "scripts/ui.js",
        "scripts/main.js"
      ]

And yes, the order is important.

Fixes #12

mcquenji commented 10 months ago

the order is relevant because the files are loaded in the same order. so if ui.js uses functions from utils.js, the utils file must be loaded first