]> git.proxmox.com Git - extjs.git/blame - extjs/packages/legacy/modern/src/device/browser/Cordova.js
add extjs 6.0.1 sources
[extjs.git] / extjs / packages / legacy / modern / src / device / browser / Cordova.js
CommitLineData
6527f429
DM
1/**\r
2 * @private\r
3 */\r
4Ext.define('Ext.device.browser.Cordova', {\r
5 extend: 'Ext.device.browser.Abstract',\r
6 \r
7 open: function(config) {\r
8 if (!this._window) {\r
9 this._window = Ext.create('Ext.device.browser.Window');\r
10 }\r
11\r
12 this._window.open(config);\r
13\r
14 return this._window;\r
15 },\r
16 \r
17 close: function() {\r
18 if (!this._window) {\r
19 return;\r
20 }\r
21\r
22 this._window.close();\r
23 }\r
24});\r