mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-09 10:46:47 +01:00
19 lines
509 B
JavaScript
19 lines
509 B
JavaScript
/*
|
|
* Copyright (c) Codiad & Kent Safranski (codiad.com), distributed
|
|
* as-is and without warranty under the MIT License. See
|
|
* [root]/license.txt for more. This information must remain intact.
|
|
*/
|
|
|
|
(function(global, $){
|
|
global.codiad.terminal = {
|
|
|
|
termWidth: $(window)
|
|
.outerWidth() - 500,
|
|
|
|
open: function() {
|
|
codiad.modal.load(this.termWidth, 'plugins/terminal/dialog.php');
|
|
codiad.modal.hideOverlay();
|
|
}
|
|
|
|
};
|
|
})(this, jQuery); |