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

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

Closed
wants to merge 1 commit into from

Conversation

vsavkin
Copy link
Contributor

@vsavkin vsavkin commented Nov 10, 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.

@vsavkin vsavkin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Nov 10, 2015
@vsavkin vsavkin added this to the beta-00 milestone Nov 10, 2015
@@ -126,6 +127,8 @@ var NG_ALL = [
'Binding.toClass',
'Binding.toFactory',
'Binding.toValue',
'BROWSER_APP_PROVIDERS:js',
'BROWSER_PROVIDERS:js',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

js?

@IgorMinar IgorMinar added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 12, 2015
@IgorMinar IgorMinar assigned vsavkin and unassigned alxhub Nov 12, 2015
@vsavkin vsavkin added the action: merge The PR is ready for merge by the caretaker label Nov 12, 2015
@mary-poppins
Copy link

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

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

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

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

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

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Nov 12, 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.
@vsavkin vsavkin added the action: merge The PR is ready for merge by the caretaker label Nov 12, 2015
@mary-poppins
Copy link

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

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Nov 12, 2015
@vsavkin vsavkin closed this in 3f4628c Nov 12, 2015
vsavkin added a commit to vsavkin/angular that referenced this pull request 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 added a commit to vsavkin/angular that referenced this pull request 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 added a commit that referenced this pull request 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

Closes #5280
@angular-automatic-lock-bot
Copy link

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
action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants