o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1378730139.914447: @value"¸{I" class:ETI"ProcessedAsset;FI"logical_path;TI"web_console.js;FI" pathname;TI"W/Users/genadi/Development/web-console-rails3/lib/assets/javascripts/web_console.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-09-09T12:24:50+03:00;TI" length;TipI" digest;TI"%e11880e9291072c1b3838d5a91eaabd0;FI" source;TI"p ;(function(BaseTerminal) { // Expose the main WebConsole namespace. var WebConsole = this.WebConsole = {}; // Follow term.js example and expose inherits and EventEmitter. var inherits = WebConsole.inherits = BaseTerminal.inherits; var EventEmitter = WebConsole.EventEmitter = BaseTerminal.EventEmitter; var Terminal = WebConsole.Terminal = function(options) { if (typeof options === 'number') { return BaseTerminal.apply(this, arguments); } BaseTerminal.call(this, options || (options = {})); this.open(); if (!(options.rows || options.cols) || !options.geometry) { this.fitScreen(); } }; // Make WebConsole.Terminal inherit from BaseTerminal (term.js). inherits(Terminal, BaseTerminal); Terminal.prototype.fitScreen = function() { var width = Math.floor(this.element.clientWidth / this.cols); var height = Math.floor(this.element.clientHeight / this.rows); var rows = Math.floor(window.innerHeight / height); var cols = Math.floor(this.parent.clientWidth / width); this.resize(cols, rows); return [cols, rows]; }; }).call(this, Terminal); ;TI"dependency_digest;TI"%b2b077c533468bf911845d81f522b868;FI"required_paths;T[I"S/Users/genadi/Development/web-console-rails3/vendor/assets/javascripts/term.js;FI"W/Users/genadi/Development/web-console-rails3/lib/assets/javascripts/web_console.js;FI"dependency_paths;T[{I" path;TI"W/Users/genadi/Development/web-console-rails3/lib/assets/javascripts/web_console.js;FI" mtime;TI"2013-09-09T12:24:50+03:00;TI" digest;TI"%7b61af1694b088c921df8ea87cbb2f2b;F{I" path;TI"S/Users/genadi/Development/web-console-rails3/vendor/assets/javascripts/term.js;FI" mtime;TI"2013-09-09T12:24:50+03:00;TI" digest;TI"%14a3837a5654151931ffb8938a7b00ec;FI" _version;TI"%6776f581a4329e299531e1d52aa59832;F