MCPcopy
hub / github.com/jcubic/jquery.terminal / max_length

Function max_length

__tests__/terminal.spec.js:6422–6427  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6420 numChars: 14
6421 });
6422 function max_length() {
6423 var lines = term.signature().split('\n');
6424 return Math.max.apply(null, lines.map(function(line) {
6425 return $.terminal.length(line);
6426 }));
6427 }
6428 it('should return space', function() {
6429 expect(term.signature()).toEqual('');
6430 });

Callers 1

terminal.spec.jsFile · 0.85

Calls 3

signatureMethod · 0.80
mapMethod · 0.65
lengthMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…