Mike Deverell

Results 15 comments of Mike Deverell

#10 switched us from using `getBoundingClientRect` to `getComputedStyle`. However, there's a possibility that this will actually result in incorrect values, so we may want to look into using `clientWidth` and...

You're right about the `index.ts`, but the `package.json` defines `lib/ResizeObserver.js` (the compiled `ResizeObserver.ts`) as the main entrypoint: https://github.com/pelotoncycle/resize-observer/blob/64efdf34dc577286fccb22a531b1b171e902b739/package.json#L5 So importing `resize-observer` as a module will load it as a ponyfill...

@sag1v No. When you use `resize-observer` you will always get this package's implementation. This package does no checks for a native implementation. The reason for this is that no matter...

~~I came upon this blog article that mentions that [`email.parser`](https://docs.python.org/3/library/email.parser.html) is in the standard python library and supports parsing `multipart/form-data`:~~ ~~https://julien.danjou.info/handling-multipart-form-data-python/~~ ~~It's a little strange to have to import from...

Nevermind, it looks like `email.parse` isn't actually working for me. Sorry for getting anyone's hopes up. PR #36 looks like it's much more well-thought-out anyway.