X Tutup
Skip to content

feat(core): extract platforms out of core#5280

Closed
vsavkin wants to merge 1 commit intoangular:masterfrom
vsavkin:extract_platforms_out_of_core
Closed

feat(core): extract platforms out of core#5280
vsavkin wants to merge 1 commit intoangular:masterfrom
vsavkin:extract_platforms_out_of_core

Conversation

@vsavkin
Copy link
Copy Markdown
Contributor

@vsavkin vsavkin commented Nov 13, 2015

Currently, core depends on the browser, which means that other platforms (e.g., NativeScript or webworker) cannot use the bootstrapping logic core provides.
This PR extract makes bootstrapping logic in core completely platform-independent. The browser-specific code was moved to "angular2/platforms/browser".

BREAKING CHANGE

A few private helpers (e.g., platformCommon or applicationCommon) were removed or replaced with other helpers. Look at PLATFORM_COMMON_PROVIDERS, APPLICATION_COMMON_PROVIDERS, BROWSER_PROVIDERS, BROWSER_APP_PROVIDERS to see if they export the providers you need.

Closes #5219

@vsavkin
Copy link
Copy Markdown
Contributor Author

vsavkin commented Nov 13, 2015

@IgorMinar reviewed it.

@vsavkin vsavkin added the action: merge The PR is ready for merge by the caretaker label Nov 13, 2015
@mary-poppins
Copy link
Copy Markdown

Merging PR #5280 on behalf of @vsavkin to branch presubmit-vsavkin-pr-5280.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Nov 13, 2015
Currently, core depends on the browser, which means that other platforms (e.g., NativeScript or webworker) cannot use the bootstrapping logic core provides.
This PR extract makes bootstrapping logic in core completely platform-independent. The browser-specific code was moved to "angular2/platforms/browser".

BREAKING CHANGE

A few private helpers (e.g., platformCommon or applicationCommon) were removed or replaced with other helpers. Look at PLATFORM_COMMON_PROVIDERS, APPLICATION_COMMON_PROVIDERS, BROWSER_PROVIDERS, BROWSER_APP_PROVIDERS to see if they export the providers you need.

Closes angular#5219
@vsavkin vsavkin force-pushed the extract_platforms_out_of_core branch from 36ede2a to 55ae6d9 Compare November 13, 2015 19:21
@mary-poppins
Copy link
Copy Markdown

Merging PR #5280 on behalf of @vsavkin to branch presubmit-vsavkin-pr-5280.

@vsavkin vsavkin added the action: merge The PR is ready for merge by the caretaker label Nov 13, 2015
@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Nov 13, 2015
@vsavkin vsavkin closed this in 0eab4fc Nov 13, 2015
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup