where is os type and version determined for a ui5 html
生活随笔
收集整理的這篇文章主要介紹了
where is os type and version determined for a ui5 html
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Created by Jerry Wang, last modified on Jun 27, 2015
- win8
- Device
- version
- Detection
- operating
- system
- navigator
- userAgent
- Android
- iPhone
- BlackBerry
所有的ui5 html page的source code里都有OS 的type及version:
如果按照source code搜索,發(fā)現是在如下line 41440里將os 的type和version通過jQuery API設置到html dom node上。
但是,在如下dbg.js file里對OS操作的相關function設置斷點,卻發(fā)現runtime時斷點根本無法觸發(fā)。
這是因為OS type的檢測是在sap-ui-core.js file內觸發(fā)的:
callstack:
要獲取更多Jerry的原創(chuàng)文章,請關注公眾號"汪子熙":總結
以上是生活随笔為你收集整理的where is os type and version determined for a ui5 html的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 消息称闪电接口的 iPhone 15 机
- 下一篇: when and where is ge