Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
var SC = require("sproutcore/runtime").SC;
var util = require("bespin:util/util");
var catalog = require("bespin:plugins").catalog;
var dock = require("bespin:views/dock");
var request = require("Canon:request");
var keyboardManager = require('Canon:keyboard').keyboardManager;
var environment = require('Canon:environment').global;
var settings = require("Settings").settings;
var cliController = require("controller").cliController;
var Level = require("hint").Level;
var BespinButtonView = require("views/image_button").BespinButtonView;
var PinView = require("views/pin").PinView;
var imagePath = catalog.getResourceURL("CommandLine") + "images/";
/**
* The height of the input area that is always visible.
*/
var inputHeight = 30;
/**
* Utility to create an ID while end()ing RenderContext
*/
var endWithId = function(ele) {
var id = SC.guidFor(ele);
ele.id(id).end();