diff options
Diffstat (limited to 'src/var/rnothtmlwhite.js')
-rw-r--r-- | src/var/rnothtmlwhite.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/var/rnothtmlwhite.js b/src/var/rnothtmlwhite.js index 29eebf287..db2a9e360 100644 --- a/src/var/rnothtmlwhite.js +++ b/src/var/rnothtmlwhite.js @@ -1,8 +1,4 @@ -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 ); -} ); +// Only count HTML whitespace +// Other whitespace should count in values +// https://infra.spec.whatwg.org/#ascii-whitespace +export default ( /[^\x20\t\r\n\f]+/g ); |