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
/
helper
/
makeString.js
diff --git a/node_modules/underscore.string/helper/makeString.js
b/node_modules/underscore.string/helper/makeString.js
new file mode 100644
(file)
index 0000000..
3b279ab
--- /dev/null
+++ b/
node_modules/underscore.string/helper/makeString.js
@@ -0,0
+1,7
@@
+/**
+ * Ensure some object is a coerced to a string
+ **/
+module.exports = function makeString(object) {
+ if (object == null) return '';
+ return '' + object;
+};