You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #3054 [Map] Remove deprecations from Map (Kocal)
This PR was merged into the 3.x branch.
Discussion
----------
[Map] Remove deprecations from Map
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes <!-- please update src/**/CHANGELOG.md files -->
| Docs? | no <!-- required for new features -->
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- For new features, provide some code snippets to help understand usage.
- Features and deprecations must be submitted against branch main.
- Update/add documentation as required (we can help!)
- Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- Never break backward compatibility (see https://symfony.com/bc).
-->
Commits
-------
a10c68e [Map] Remove deprecations from Map
Copy file name to clipboardExpand all lines: src/Map/assets/dist/abstract_map_controller.js
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -102,12 +102,6 @@ var abstract_map_controller_default = class extends Controller {
102
102
consteventAfter=`${type}:after-create`;
103
103
return({ definition })=>{
104
104
this.dispatchEvent(eventBefore,{ definition });
105
-
if(typeofdefinition.rawOptions!=="undefined"){
106
-
console.warn(
107
-
`[Symfony UX Map] The event "${eventBefore}" added a deprecated "rawOptions" property to the definition, it will be removed in a next major version, replace it with "bridgeOptions" instead.`,
`[Symfony UX Map] The event "${eventBefore}" added a deprecated "rawOptions" property to the definition, it will be removed in a next major version, replace it with "bridgeOptions" instead.`,
Copy file name to clipboardExpand all lines: src/Map/src/Bridge/Google/assets/dist/map_controller.js
+6-30Lines changed: 6 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -105,12 +105,6 @@ var abstract_map_controller_default = class extends Controller {
105
105
consteventAfter=`${type}:after-create`;
106
106
return({ definition })=>{
107
107
this.dispatchEvent(eventBefore,{ definition });
108
-
if(typeofdefinition.rawOptions!=="undefined"){
109
-
console.warn(
110
-
`[Symfony UX Map] The event "${eventBefore}" added a deprecated "rawOptions" property to the definition, it will be removed in a next major version, replace it with "bridgeOptions" instead.`,
0 commit comments