Skip to content

Potential fixes for 25 code scanning alerts #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/assets/js/asciinema-player.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**

Check warning on line 1 in docs/assets/js/asciinema-player.js

View workflow job for this annotation

GitHub Actions / Typo CI

Filename: docs/assets/js/asciinema-player.js

"asciinema" in the filename is a typo. Did you mean "CinemaScope"?
* asciinema-player v2.6.1
*
* Copyright 2011-2018, Marcin Kulik
Expand Down Expand Up @@ -146,7 +146,8 @@
} else {
var h = [], g = String(Math.random());
window.addEventListener("message", function (e) {
if (e.data === g) {
var trustedOrigins = ['https://www.example.com']; // Add your trusted origins here
if (trustedOrigins.includes(e.origin) && e.data === g) {
var t = h;
h = [], t.forEach(function (e) {
e()
Expand Down
Loading