1 /** 2 * @fileoverview A class which implements a single-line 3 * input control. 4 */ 5 6 goog.provide('xrx.input'); 7 8 9 goog.require('goog.dom'); 10 goog.require('xrx.codemirror'); 11 goog.require('xrx.controller'); 12 goog.require('xrx.view'); 13 14 15 16 /** 17 * @constructor 18 */ 19 xrx.input = function(element) { 20 21 22 23 /** 24 * call constructor of class xrx.codemirror 25 * @param {!xrx.input} 26 * @param {Element} 27 */ 28 goog.base(this, element); 29 }; 30 goog.inherits(xrx.input, xrx.codemirror); 31 32 33 34 35 xrx.input.prototype.options = { 36 'extraKeys': { Enter: function(cm) {} }, 37 'fixedGutter': false 38 }; 39