Show More
Commit Description:
change logger to be limited by file size
Commit Description:
change logger to be limited by file size
References:
File last commit:
Show/Diff file:
Action:
node_modules/jquery/src/core/stripAndCollapse.js
| 14 lines
| 362 B
| application/javascript
| JavascriptLexer
|
r789 | define( [ | |||
"../var/rnothtmlwhite" | ||||
], function( rnothtmlwhite ) { | ||||
"use strict"; | ||||
// Strip and collapse whitespace according to HTML spec | ||||
// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace | ||||
function stripAndCollapse( value ) { | ||||
var tokens = value.match( rnothtmlwhite ) || []; | ||||
return tokens.join( " " ); | ||||
} | ||||
return stripAndCollapse; | ||||
} ); | ||||