projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
underscore.string
/
isBlank.js
diff --git a/node_modules/underscore.string/isBlank.js
b/node_modules/underscore.string/isBlank.js
new file mode 100644
(file)
index 0000000..
386e819
--- /dev/null
+++ b/
node_modules/underscore.string/isBlank.js
@@ -0,0
+1,5
@@
+var makeString = require('./helper/makeString');
+
+module.exports = function isBlank(str) {
+ return (/^\s*$/).test(makeString(str));
+};