Skip to content

Commit

Permalink
[INTERNAL] sap.ui.jsview: Improve deprecation message
Browse files Browse the repository at this point in the history
SNOW: n/a
CR-Id: 002075125800003802742024
JIRA: CPOUI5FOUNDATION-884
Change-Id: I49fb65f3e6780e1dcf9d0bf00e640d511c8f24e1
(cherry picked from commit 21d4663)
  • Loading branch information
flovogt committed Aug 21, 2024
1 parent ec52309 commit 0cc1ef7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sap.ui.core/src/sap/ui/core/mvc/JSView.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ sap.ui.define([
* @param {boolean} [bAsync=false] whether the view source is loaded asynchronously
* @public
* @static
* @deprecated Since 1.56. Use {@link sap.ui.core.mvc.View.extend View.extend} to define the view class
* and {@link sap.ui.core.mvc.View.create View.create} to create view instances
* @deprecated Since 1.56. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
* by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
* creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
* @ui5-global-only
* @returns {sap.ui.core.mvc.JSView | undefined} the created JSView instance in the creation case, otherwise undefined
*/
Expand Down

0 comments on commit 0cc1ef7

Please sign in to comment.