Closed webdev03 closed 2 years ago
This shouldn't pollute the global namespace..
You could also use ES6 modules instead.
Otherwise, looks good.
I think that let is scoped to the function only? I'm working on an example in this PR.
I think that let is scoped to the function only? I'm working on an example in this PR.
I have an example already, going to deploy to vercel and test it.
Oh
@webdev03 Adding vercel, could you make a PR with what's needed to make vercel be quiet?
Example doesn't work - You don't need to use XTerm just simple CSS will do!
Example doesn't work - You don't need to use XTerm just simple CSS will do!
I always use xtermjs for anything that has a CLI-like user interface. Also, if this is used with Node, it needs support for different line endings.
Made the change I needed to do
It's window.Neofetch and it is capital to prevent some confusion with other variables
Doesn't work yet
(index):60
Uncaught ReferenceError: neofetch is not defined
at neofetch-js-85ydb6ni…s.vercel.app/:60:14
Checking page performance, just to make sure there isn't a crazy CPU load increase
@webdev03 Largest contentful paint can't be calculated by https://web.dev/measure , which is confusing. Otherwise, looks good! I really should remove xtermjs temporarily until I have color support, and maybe even load it async, strip color while it's loading, and re-render with color after it loads once I add color support. Merging, anything you need to change?
Okay, you haven't responded, so I'm merging.
Why delete?
My fork, my wish 😄
My fork, my wish 😄
Oh. I never delete branches, and actively undelete them sometimes on github orgs.
@webdev03 BTW, this is for https://github.com/DustinBrett/daedalOS/discussions/61
Not tested yet..