aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jquery/src/core/stripAndCollapse.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jquery/src/core/stripAndCollapse.js')
-rw-r--r--lib/jquery/src/core/stripAndCollapse.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/jquery/src/core/stripAndCollapse.js b/lib/jquery/src/core/stripAndCollapse.js
deleted file mode 100644
index ccad660..0000000
--- a/lib/jquery/src/core/stripAndCollapse.js
+++ /dev/null
@@ -1,14 +0,0 @@
-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;
-} );