1
0
Fork 0
fgdata/Phi/topics/Simulator/Exit.js
Torsten Dreyer 190e8449ce Phi: move URL to the browsers root directory
- rename the directory from webgui to Phi
- let the webserver's root point to Phi instead of Docs
- redirect old /gui/ url to the new location (/)
2015-04-18 13:03:46 +02:00

21 lines
458 B
JavaScript

define([
'jquery', 'knockout', 'text!./Exit.html', 'fgcommand', 'kojqui/button'
], function(jquery, ko, htmlString, fgcommand ) {
function ViewModel(params) {
var self = this;
self.doExit = function() {
fgcommand.exit();
}
}
ViewModel.prototype.dispose = function() {
}
// Return component definition
return {
viewModel : ViewModel,
template : htmlString
};
});