]>
git.proxmox.com Git - sencha-touch.git/blob - src/src/ux/device/Twitter.js
2 * Allows you to interact with the Twitter API on iOS devices from within your Cordova application.
4 * For setup information, please read the [plugin guide](https://github.com/phonegap/phonegap-plugins/tree/master/iOS/Twitter).
6 * @mixins Ext.ux.device.twitter.Abstract
8 * For more information regarding Native APIs, please review our [Native APIs guide](../../../packaging/native_apis.html).
10 Ext
.define('Ext.ux.device.Twitter', {
14 'Ext.device.Communicator',
15 'Ext.ux.device.twitter.Cordova'
18 constructor: function() {
19 var browserEnv
= Ext
.browser
.is
;
20 if (browserEnv
.WebView
&& browserEnv
.Cordova
) {
21 return Ext
.create('Ext.ux.device.twitter.Cordova');
23 return Ext
.create('Ext.ux.device.twitter.Abstract');