| Current Path : /home3/gp97/courrierscolo.97gp.net/node_modules/jquery/src/core/ |
| Current File : //home3/gp97/courrierscolo.97gp.net/node_modules/jquery/src/core/stripAndCollapse.js |
define( [
"../var/rnothtmlwhite"
], function( rnothtmlwhite ) {
"use strict";
// Strip and collapse whitespace according to HTML spec
// https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace
function stripAndCollapse( value ) {
var tokens = value.match( rnothtmlwhite ) || [];
return tokens.join( " " );
}
return stripAndCollapse;
} );