Title: Raven-js likes to share, let's make it more introverted. by hamishcampbell · Pull Request #124 · getsentry/sentry-javascript · GitHub
Open Graph Title: Raven-js likes to share, let's make it more introverted. by hamishcampbell · Pull Request #124 · getsentry/sentry-javascript
X Title: Raven-js likes to share, let's make it more introverted. by hamishcampbell · Pull Request #124 · getsentry/sentry-javascript
Description: All functions (e.g. 'private' ones, like each) moved into the Raven global to prevent them polluting the window object. Misc variables too (cachedAuth etc). Added hitch to apply scope to callbacks, primarily so that each can recieve callbacks with scope set. each now applies this instead of null. Moved global* variables into Raven object properties - since Raven is global anyway. Included legacy support for loading but possible issues if you're running multiple Raven versions and changing global settings after it's loaded. Refactored for cleanliness: Remove one line control structures (inconsistently applied and linters don't like them) Declare functions nicely (wrapped, success, etc) so the test runner doesn't complain about strict violations Use function level strict directive so sources can be concatenated and strict behaviour maintained. Wrap it all up, put a bow on it. Update tests.
Open Graph Description: All functions (e.g. 'private' ones, like each) moved into the Raven global to prevent them polluting the window object. Misc variables too (cachedAuth etc). Added hitch to apply scope to ca...
X Description: All functions (e.g. 'private' ones, like each) moved into the Raven global to prevent them polluting the window object. Misc variables too (cachedAuth etc). Added hitch to apply sco...
Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/124
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6c7a30ca-bba5-4cd0-7f8f-d65afa012616 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9494:373A8C:2A14EDD:36AD364:6B040C86 |
| html-safe-nonce | 25e70c09269eb0a49fe7118ea5374cb679d54ecbd47271cd42514d4d8a811c69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDk0OjM3M0E4QzoyQTE0RUREOjM2QUQzNjQ6NkIwNDBDODYiLCJ2aXNpdG9yX2lkIjoiMjA4MDkyOTE2NzI4OTA5MzI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9052b63d7d094e59cc2b72d4cda19c14182461be312d0d1b7bc20f484d37ec80 |
| hovercard-subject-tag | pull_request:7127318 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/124/files |
| twitter:image | https://avatars.githubusercontent.com/u/295074?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/295074?s=400&v=4 |
| og:image:alt | All functions (e.g. 'private' ones, like each) moved into the Raven global to prevent them polluting the window object. Misc variables too (cachedAuth etc). Added hitch to apply scope to ca... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width