摘要:
```javascript (function (doc, win) { var docEl = doc.documentElement, // 返回HTML文档的所有代码 resizeEvt = 'orientationchange' in window ? 'orientationchange' 阅读全文
摘要:
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',这段是为了获取移动端屏幕是否翻转(手机重力感应等引起屏幕长宽变化之类的) 'orientationchange' in window 这个是判 阅读全文