-
18 Nov 2011 1:28 AM #1
Unanswered: Ext.is deprecated
Unanswered: Ext.is deprecated
I am porting a project from from Touch 1.1 to 2 and (of course) face problems. One of them is this:
Ext.is is apparently gone. Sencha calls it 'deprecated', but without prior notice removing support from one version to the next is not deprecation in my book..
Going through the sources it turns out this is replaced by Ext.os.is
Any documentation available anywhere? A search through the touch 2.0 api docs revealed zilch...twitter: @realjax
-
18 Nov 2011 1:38 AM #2
Ext.env is what I think am supposed to be looking at in the API docs, but it looks rather unfinished to me..
twitter: @realjax
-
18 Nov 2011 3:23 AM #3Sencha - Sencha Touch Dev Team
- Join Date
- Jul 2009
- Location
- Palo Alto, California
- Posts
- 469
- Vote Rating
- 9
- Answers
- 24
Ext.is and Ext.supports are both deprecated. However they still exists for backwards-compatibility in the debug builds, and you should see proper warning messages in the debugger console if you access their properties, for example: accessing Ext.is.WebKit will gives you this message:
Make sure you're developing with sencha-touch-debug.js (or sencha-touch-all-debug.js). Warning messages are stripped out in production builds.Code:[DEPRECATE] Ext.is.WebKit is deprecated, please use Ext.browser.is.WebKit instead
Sencha Touch Lead Architect
-
21 Nov 2011 2:06 AM #4


Reply With Quote