jellyfish-web/src/components/shell.js

21 lines
534 B
JavaScript
Raw Normal View History

define([], function () {
'use strict';
2018-10-23 01:05:09 +03:00
return {
openUrl: function (url) {
window.open(url, '_blank');
2018-10-23 01:05:09 +03:00
},
canExec: false,
exec: function (options) {
// options.path
// options.arguments
return Promise.reject();
},
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
}
};
2018-10-23 01:05:09 +03:00
});