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

Commit a5160c8

Browse files
committed
docs($compile): add deprecation notice for preAssignBindingsEnabled
1 parent 8853312 commit a5160c8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/ng/compile.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,14 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
13901390
*
13911391
* If disabled (false), the compiler calls the constructor first before assigning bindings.
13921392
*
1393-
* The default value is true in Angular 1.5.x but will switch to false in Angular 1.6.x.
1393+
* The default value is false.
1394+
*
1395+
* @deprecated
1396+
* sinceVersion="1.6.0"
1397+
* removeVersion="1.7.0"
1398+
*
1399+
* This method and the option to assign the bindings before calling the controller's constructor
1400+
* will be removed in v1.7.0.
13941401
*/
13951402
var preAssignBindingsEnabled = false;
13961403
this.preAssignBindingsEnabled = function(enabled) {

0 commit comments

Comments
 (0)