2019-01-10 15:39:37 +03:00
|
|
|
define([], function () {
|
|
|
|
'use strict';
|
|
|
|
|
2018-10-23 01:05:09 +03:00
|
|
|
return {
|
2019-01-10 15:39:37 +03:00
|
|
|
openUrl: function (url) {
|
|
|
|
window.open(url, '_blank');
|
2018-10-23 01:05:09 +03:00
|
|
|
},
|
2019-01-10 15:39:37 +03:00
|
|
|
canExec: false,
|
|
|
|
exec: function (options) {
|
|
|
|
// options.path
|
|
|
|
// options.arguments
|
|
|
|
return Promise.reject();
|
2019-01-15 19:53:30 +09:00
|
|
|
},
|
|
|
|
enableFullscreen: function () {
|
|
|
|
// do nothing since this is for native apps
|
|
|
|
},
|
|
|
|
disableFullscreen: function () {
|
|
|
|
// do nothing since this is for native apps
|
2018-10-23 01:05:09 +03:00
|
|
|
}
|
2019-01-10 15:39:37 +03:00
|
|
|
};
|
2018-10-23 01:05:09 +03:00
|
|
|
});
|