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
Public API for setting DOM adapter #4942
Comments
//cc: @IgorMinar |
Eventually, we won't need DomAdapters any more:
On Tue, Oct 27, 2015 at 8:57 AM Pawel Kozlowski notifications@github.com
|
FYI since alpha-47 the System.import('angular2/src/platform/browser/browser_adapter').then(function(browser_adapter) {
browser_adapter.BrowserDomAdapter.makeCurrent();
}) |
I don't even remember what this one was about and why I've even opened this, so closing for now. |
@pkozlowski-opensource We have to use this for testing purpose, maybe the idea was to have a cleaner API for this? |
Yes, exactly. Is |
In the past the BrowserDomAdapter was a private api but that got fixed
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Currently there are several places where we need to set a DOM adapter (server-side rendering, web-worker, testing) and we don't have public API for this. What is done today is some variant of:
We need to decide upon public API for selecting platform-specific DOM adapter
The text was updated successfully, but these errors were encountered: