Skip to content
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

Browser singleton #296

Merged
merged 3 commits into from
Jun 20, 2017
Merged

Browser singleton #296

merged 3 commits into from
Jun 20, 2017

Conversation

rokob
Copy link
Contributor

@rokob rokob commented Jun 1, 2017

We added a singleton helper to the server side, it is something people have been confused about and asked for on the browser side. This is what it would look like.

@coryvirok
Copy link
Contributor

Cool. This approach LGTM.

@rokob
Copy link
Contributor Author

rokob commented Jun 20, 2017

There isn't really a downside to merging this beyond adding some API we may not want to support in the future. This makes rollbar.js compatible with basically all pre-2.0 usage.

@rokob rokob merged commit 06b5b85 into master Jun 20, 2017
@rokob rokob deleted the browser-singleton branch October 31, 2017 23:13
mudetroit pushed a commit that referenced this pull request Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants