- #Google drive plugin for office being deprecated android#
- #Google drive plugin for office being deprecated code#
This also includes trying to "sell" us WordPress. Consider reddit advertising instead.Ĭonsider reddit advertising instead. This includes "how to" posts that recommend themes, plugins or services to do things. if('TouchEvent' in window & TouchEvent.The place for news, articles and discussion regarding WordPress.
On the window object and if it has a positive "length" (indicating it's aĬonstructor that takes an argument) you should use that. Support Firefox, IE Edge, and Chrome by checking for the existence of TouchEvent
#Google drive plugin for office being deprecated code#
To correctly handle TouchEvents on the web you should change your code to Though because there will be other WebKit and older Blink based browsers onĪndroid for a while that you will still need to support the older API.
#Google drive plugin for office being deprecated android#
On Android will match and hit this deprecation. This is bad because it looks for "Android" in the User-Agent and Chrome (frequently forgetting Firefox) var event = document.createEvent('TouchEvent') Įvent.initTouchEvent(touchItem, touchItem, touchItem, "touchstart", window,ģ00, 300, 200, 200, false, false, false, false) Įvent.initTouchEvent("touchstart", false, false, window, 0, 300, 300, 200,Ģ00, false, false, false, false, touches, targetTouches, changedTouches, 0, 0) Were so wildly different, sites would often have That is neither specced nor compatible with the only other implementation.ĭevelopers needing an alternative should use the TouchEvent constructor.īecause the iOS and Android/Chrome implementations of the initTouchEvent API Andįinally, the TouchEvent constructor is a lot easier to use.įor these reasons we decided to follow the spec rather than maintain an API Safari's initTouchEvent API and was different to Firefox on Android's. The Chrome implementation of initTouchEvent was not compatible at all with SeeĪside from not being in the Touch Events spec, there are a number of reasons why Please use the TouchEvent constructor instead.
TouchEvent.initTouchEvent is deprecated and will be removed in M53,Īround September 2016. Since Chrome 49, this deprecated API has displayed the following warning. These are frequently used to simulate Touch EventsĮither for testing or automating some UIs in your site. Spec compliance and will be removed altogether in Chrome 54.įor a long time developers have been able to create synthetic touch events in Chrome Which is why support for HTTP/0.9 is removed in Chrome 54. The only foolproof way to fix issues with HTTP/0.9 is to remove support altogether.