OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / tools / side_chain_tool / web / node_modules / jquery / src / core / stripAndCollapse.js
diff --git a/tools/side_chain_tool/web/node_modules/jquery/src/core/stripAndCollapse.js b/tools/side_chain_tool/web/node_modules/jquery/src/core/stripAndCollapse.js
deleted file mode 100644 (file)
index 2b63820..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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;
-} );