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

Commit 1e841a8

Browse files
authored
docs($compile): remove a mention of preassigning bindings in controllers
The deprecation warning is no longer needed as the feature has been removed in 1.7. Closes #15870
1 parent 2b0c050 commit 1e841a8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: src/ng/compile.js

-6
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,6 @@
374374
* `$onInit`, which is called after all the controllers on an element have been constructed and had their bindings
375375
* initialized.
376376
*
377-
* <div class="alert alert-warning">
378-
* **Deprecation warning:** although bindings for non-ES6 class controllers are currently
379-
* bound to `this` before the controller constructor is called, this use is now deprecated. Please place initialization
380-
* code that relies upon bindings inside a `$onInit` method on the controller, instead.
381-
* </div>
382-
*
383377
* It is also possible to set `bindToController` to an object hash with the same format as the `scope` property.
384378
* This will set up the scope bindings to the controller directly. Note that `scope` can still be used
385379
* to define which kind of scope is created. By default, no scope is created. Use `scope: {}` to create an isolate

0 commit comments

Comments
 (0)