GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Sync with upstream @ 20208769 by javascript-translate-bot · Pull Request #37 · javascript-tutorial/ug.javascript.info

Conversation

@javascript-translate-bot

@javascript-translate-bot javascript-translate-bot commented Nov 9, 2026

Copy link
Copy Markdown

This PR was automatically generated to merge changes from en.javascript.info at 2020876

Conflicted files in this PR have labels ">>>..." with both sides of conflict. If you merge this PR, you'll need to examine the listed files and resolve conflicts.

Alternatively, you can close this PR and merge conflicting changes manually.

The following files have conflicts and may need updates of the translations:

  • 1-js/01-getting-started/1-intro/article.md

To merge changes manually (instead of merging this PR):

  1. Add remote upstream that links to the English version (only needs to be done once)
    • git add remote upstream https://github.com/javascript-tutorial/en.javascript.info
  2. Commit all current work locally and git checkout master
  3. Pull the recent changes from the English version:
    • git pull upstream master
  4. Deal with the conflicts. If a conflict touches a few lines, then just fix it. Otherwise, following commands can help:
    • Checkout your (translated) version of a file/folder at the given path (removes all upstream changes):
      • git checkout --ours <path>
    • See the diff, what changed in the upstream file since branches diverged:
      • git diff --word-diff master...upstream/master <path> (please note: three dots in the command)
    • Then you can examine the changes in upstream and add them manually
  5. When conflicts resolved, commit them and git push origin master

This PR will be closed and replaced with a new one in a few days.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
audiodude and others added 8 commits July 22, 2024 18:57
@audiodude
Update article.md
c07df98
Remove non-inclusive language.
@smith558
Merge branch 'master' into patch-1
c6f645c
@smith558
Merge pull request #3724 from audiodude/patch-1
52c1e61
Update article.md
@Lk-ux
Convert prompt inputs to numbers with unary plus
a197375
Added unary plus to prompt inputs for type conversion.
@Violet-Bora-Lee @claude
Fix Prism API name: highlightElem -> highlightElement
f7922ed
The article's prose and inline examples use Prism.highlightElem, which
does not exist in the Prism.js API, while the demo code later in the same
article correctly uses Prism.highlightElement. Unify on the real API name.

Also pass only the element in forEach callbacks: forEach supplies
(element, index, array), which would collide with the
highlightElement(element, async, callback) signature if the method
reference is passed directly.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MizgRqMWEBSTYhJ9YhSd2g
@iliakan
Merge pull request #3980 from Violet-Bora-Lee/fix-prism-highlight-ele…
725653f
…ment

Fix Prism API name: highlightElem -> highlightElement in MutationObserver article
@smith558
Merge pull request #3977 from Lk-ux/patch-3
2020876
Convert prompt inputs to numbers with unary plus
@iliakan
merging all conflicts
b59796d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@javascript-translate-bot @audiodude @smith558 @Lk-ux @Violet-Bora-Lee @iliakan
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.