We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods related to jQuery.os.* are deprecated. Therefore an autofix should be offered by UI5 linter.
jQuery.os.*
Deprecated APIs:
var osName = jQuery.os.os; var osVersion = jQuery.os.fVersion; var osVersionString = jQuery.os.version; var isAndroid = jQuery.os.Android; var isBlueBerry = jQuery.os.bb; var isIOS = jQuery.os.iOS; var isWinPhone = jQuery.os.winphone; var isWin = jQuery.os.win; var isLinux = jQuery.os.linux; var isMac = jQuery.os.mac;
sap.ui.define([ "sap/ui/Device" ], (Device) => { var osName = Device.os.name; var osVersion = Device.os.version; var osVersionString = Device.os.versionStr; var isAndroid = Device.os.name === "Android"; var isBlueBerry = Device.os.name === "bb"; var isIOS = Device.os.name === "iOS"; var isWinPhone = Device.os.name === "winphone"; var isWin = Device.os.name === "win"; var isLinux = Device.os.name === "linux"; var isMac = Device.os.name === "mac"; });
The text was updated successfully, but these errors were encountered:
Will be implemented in CPOUI5FOUNDATION-990.
Sorry, something went wrong.
No branches or pull requests
Missing autofix for methods related to jQuery.os.*
Methods related to
jQuery.os.*
are deprecated. Therefore an autofix should be offered by UI5 linter.Deprecated APIs:
Deprecated Usage
Recommended Usage
The text was updated successfully, but these errors were encountered: