Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs($controller): deprecate the use of $controllerProvider#allowGlobals #15230

Closed
wants to merge 1 commit into from

Conversation

jbedard
Copy link
Collaborator

@jbedard jbedard commented Oct 8, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs

Does this PR introduce a breaking change?
puts the warning for a future one

Anything else that needs to be done to prepare for removing this in 1.7?

@petebacondarwin
Copy link
Contributor

We are going to remove the feature in 1.7?
We should document at which version it will be removed.

@gkalpak gkalpak added this to the 1.6.x (post 1.6.0) milestone Oct 10, 2016
@Narretz
Copy link
Contributor

Narretz commented Oct 11, 2016

I agree. The version when this is removed should go into the deprecated tag. @petebacondarwin can we render this nicely with dgeni?

@petebacondarwin
Copy link
Contributor

We should be able to tweak the dgeni templates. I'll take a look tomorrow

@petebacondarwin petebacondarwin self-assigned this Oct 11, 2016
@petebacondarwin petebacondarwin modified the milestones: 1.6.0-rc.0, 1.6.x (post 1.6.0) Oct 17, 2016
@@ -59,6 +59,9 @@ function $ControllerProvider() {
* @ngdoc method
* @name $controllerProvider#allowGlobals
* @description If called, allows `$controller` to find controller constructors on `window`
*
* @deprecated
* This method of finding controllers has been deprecated. This will be removed in a future version.
Copy link
Contributor

Choose a reason for hiding this comment

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

This will be removed in 1.7

@jbedard
Copy link
Collaborator Author

jbedard commented Oct 18, 2016

@petebacondarwin updated with a specific version

@@ -59,6 +59,9 @@ function $ControllerProvider() {
* @ngdoc method
* @name $controllerProvider#allowGlobals
* @description If called, allows `$controller` to find controller constructors on `window`
*
* @deprecated
* This method of finding controllers has been deprecated. This will be removed in 1.7
Copy link
Member

Choose a reason for hiding this comment

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

Missing trailing . 😇

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated

@gkalpak gkalpak closed this in 828f8a6 Oct 20, 2016
ellimist pushed a commit to ellimist/angular.js that referenced this pull request Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants