diff options
Diffstat (limited to 'node_modules/jquery/src/var/rnothtmlwhite.js')
| -rw-r--r-- | node_modules/jquery/src/var/rnothtmlwhite.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/jquery/src/var/rnothtmlwhite.js b/node_modules/jquery/src/var/rnothtmlwhite.js new file mode 100644 index 0000000..29eebf2 --- /dev/null +++ b/node_modules/jquery/src/var/rnothtmlwhite.js @@ -0,0 +1,8 @@ +define( function() { + "use strict"; + + // Only count HTML whitespace + // Other whitespace should count in values + // https://infra.spec.whatwg.org/#ascii-whitespace + return ( /[^\x20\t\r\n\f]+/g ); +} ); |
