profile
viewpoint

emojityper/emojityper 75

Github said "Error saving your changes: Description contains unicode characters above 0xffff" when I put the FACE LAUGHING WITH TEARS OF JOY emoji in this box

samthor/fastgif 62

fastgif, fast Web Assembly GIF decoder based on Wuffs

samthor/fast-text-encoding 61

Fast polyfill for TextEncoder and TextDecoder, only supports UTF-8

hogesonline/svg_play 51

Making pretty generated SVGs in Python

samthor/cjs-loader 18

🔥👨‍💻🔥 This is a successful but terrible idea and should not be used by anyone.

samthor/advanced-input 8

Advanced <input> or <textarea> elements

samthor/dhost 6

Never-caching development Node webserver

Meggin/browser-compatibility-extension 4

A Chrome DevTools extension that displays browser compatibility for a page

neilbruckner/awards 3

Website to use for reading out award winners

samthor/daikin-go 3

Raw interface to Daikin AC units with WiFi dongles

push eventsamthor/gumnut

Sam Thorogood

commit sha bfbe78181f8d38d38c413773916de034f8adf6c5

testtypes

view details

push time in 5 days

push eventsamthor/gumnut

Sam Thorogood

commit sha 45dd46d966223d9aeba71b0fbf7d137cff738987

build for assert

view details

Sam Thorogood

commit sha fde93fcaa2b115e7bf67a2e92b4103711eff2e49

boop

view details

push time in 6 days

push eventsamthor/gumnut

Sam Thorogood

commit sha 22794b28c654990615d1d926b7520d4420bc83b5

fix types

view details

Sam Thorogood

commit sha 7dbb41795f0d215492a2c5769915f58c23f24ad5

add assert as keyword

view details

Sam Thorogood

commit sha 6d5073f156f1534d79ed8b8d32b6eab3597a8053

support assert dict

view details

push time in 6 days

create barnchsamthor/gumnut

branch : experiment-v2

created branch time in 6 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha b3dab91dfbaf48141003db94d5e3aaf261514b22

rewrite demo

view details

Sam Thorogood

commit sha fe8f5b0bf3dfc14b9debef876006ed8221c77a1f

debug

view details

Sam Thorogood

commit sha 48338dbf3186a74020615a273e3fec62b73f5d77

annotation and multiline

view details

Sam Thorogood

commit sha b587c61ef6cd1ad0cc63a2f6f1594161de499766

meta and stuff

view details

Sam Thorogood

commit sha 37d1236c78c1771f35b1166bfac2f09995a3fed7

finish with cursor

view details

Sam Thorogood

commit sha 5075b319c7eebba2910d5d4aeb5a04e724730e73

focus

view details

Sam Thorogood

commit sha 8764cfb9bc91ca91563a524e95fca0f2863d1e2e

support padding

view details

Sam Thorogood

commit sha 350a18b979a147645609e3b92be696576ab7f195

better comment

view details

Sam Thorogood

commit sha c3cd134b8d761b1eb85e93ec4a7a771d1965c628

misc

view details

Sam Thorogood

commit sha 9c8f87af78bbd7c05cb03df272b667bc6640ee27

clears value on reset

view details

Sam Thorogood

commit sha 95a21536c91fcdb232ef6bc58491fc36bbf396ba

allow trailer changes

view details

Sam Thorogood

commit sha 8f8d225b5cf3856a77b948354154c1ed25e4f876

readme and stuff

view details

push time in 8 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha 8f8d225b5cf3856a77b948354154c1ed25e4f876

readme and stuff

view details

push time in 8 days

startedtaybenlor/runno

started time in 9 days

issue commentsamthor/scoped

Greetings from the Qiankun team

For sure. I wrote this code mostly in 2017 and it could use a bit of upgrading, although I don't think by that much.

There's a few major parts:

  • the MutationObserver and friends which actually notice <style> being added/removed/modified on the page (some other polyfills didn't do this, they just did an initial pass)
  • the XHR-based loader which deals with imports into scoped CSS
  • complex regexps which rewrite nested CSS selectors (you don't always just want to add a prefix to make the polyfill work)

Maybe you want some or all of those.

On Sat, 20 Nov 2021 at 20:35, Chess Luo ***@***.***> wrote:

Hi there👋,

First of all, thank you so much for your effort on scoped!

I'm a core member of the team Qiankun https://github.com/umijs/qiankun, we ran into the same need for style isolation and already have a working solution of our own. Recently, we came across your implementation on MDN https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style#attr-scoped, which our implementation is very similar to (you can find it here https://github.com/umijs/qiankun/blob/master/src/sandbox/patchers/css.ts). Since it just makes more sense to use a library that already exists, we decided to replace ours with scoped and we would be happy to collaborate with you on any of the following:

If you are interested, please let us know, we are more than willing to provide a more detailed API proposal and to contribute PRs!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samthor/scoped/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5DEBSNCVQPQWGYFWVJILUM5TXLANCNFSM5INYSD4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

chessl

comment created time in 9 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha 95a21536c91fcdb232ef6bc58491fc36bbf396ba

allow trailer changes

view details

push time in 13 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha 9c8f87af78bbd7c05cb03df272b667bc6640ee27

clears value on reset

view details

push time in 17 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha c3cd134b8d761b1eb85e93ec4a7a771d1965c628

misc

view details

push time in 17 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha 350a18b979a147645609e3b92be696576ab7f195

better comment

view details

push time in 17 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha 8764cfb9bc91ca91563a524e95fca0f2863d1e2e

support padding

view details

push time in 18 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha 5075b319c7eebba2910d5d4aeb5a04e724730e73

focus

view details

push time in 18 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha b587c61ef6cd1ad0cc63a2f6f1594161de499766

meta and stuff

view details

Sam Thorogood

commit sha 37d1236c78c1771f35b1166bfac2f09995a3fed7

finish with cursor

view details

push time in 18 days

push eventsamthor/advanced-input

Sam Thorogood

commit sha fe8f5b0bf3dfc14b9debef876006ed8221c77a1f

debug

view details

Sam Thorogood

commit sha 48338dbf3186a74020615a273e3fec62b73f5d77

annotation and multiline

view details

push time in 18 days

push eventsamthor/samthor

Sam Thorogood

commit sha a5a08860e64ba854b52c3e356bf593d869f788bb

Update README.md

view details

push time in 18 days

create barnchsamthor/samthor

branch : main

created branch time in 18 days

created repositorysamthor/samthor

<script>alert('hi');</script>

created time in 18 days

create barnchsamthor/advanced-input

branch : upgrade

created branch time in 18 days

issue commentGoogleChrome/developer.chrome.com

"Could not find URL" errors when building the site

This is probably a Windows error.

ersenbasaransen

comment created time in 25 days

issue commentGoogleChrome/developer.chrome.com

Document how to preview Chromium changes in extensions docs

You can run "node external/build/types.js <path_to_all_d.ts>".

That .d.ts file can be generated by the chrome-types repo. However, that can only currently generate from git revisions of the main Chromium source. It could be expanded to fetch from Gerrit.

dotproto

comment created time in 25 days

push eventgoogle/santa-tracker-web

Sam Thorogood

commit sha 0a64f02d508bc5cfe0cf2d402cf84350049b1f62

remove ?.

view details

push time in 25 days

push eventGoogleChrome/developer.chrome.com

Sam Thorogood

commit sha b1321c027c682b37c70ed7b92394ce4568ca5751

mark missing params as optinoal (#1692)

view details

push time in 25 days

delete branch GoogleChrome/developer.chrome.com

delete branch : external-early

delete time in 25 days

PR merged GoogleChrome/developer.chrome.com

Reviewers
mark missing params as optional cla: yes

Fixes #1691. Adds a test.

cc @rdcronin

+46 -1

1 comment

2 changed files

samthor

pr closed time in 25 days

issue closedGoogleChrome/developer.chrome.com

Types aren't rendering early optional params

Need to fix parser in dts-parse.js. We should virtually mark params that are missing in some signatures as optional on others.

closed time in 25 days

samthor

PR opened GoogleChrome/developer.chrome.com

mark missing params as optional

Fixes #1691. Adds a test.

cc @rdcronin

+46 -1

0 comment

2 changed files

pr created time in 25 days

more