Add node modules and new code for release (#39)
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a10d84bc2e
commit
7ad2aa66bb
18
node_modules/lodash/_stringSize.js
generated
vendored
Normal file
18
node_modules/lodash/_stringSize.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
var asciiSize = require('./_asciiSize'),
|
||||
hasUnicode = require('./_hasUnicode'),
|
||||
unicodeSize = require('./_unicodeSize');
|
||||
|
||||
/**
|
||||
* Gets the number of symbols in `string`.
|
||||
*
|
||||
* @private
|
||||
* @param {string} string The string to inspect.
|
||||
* @returns {number} Returns the string size.
|
||||
*/
|
||||
function stringSize(string) {
|
||||
return hasUnicode(string)
|
||||
? unicodeSize(string)
|
||||
: asciiSize(string);
|
||||
}
|
||||
|
||||
module.exports = stringSize;
|
||||
Reference in New Issue
Block a user