projects
/
allo
/
allo_webadmin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ajout version angular
[allo/allo_webadmin.git]
/
angular
/
node_modules
/
bower
/
lib
/
node_modules
/
mout
/
src
/
lang
/
toString.js
diff --git a/angular/node_modules/bower/lib/node_modules/mout/src/lang/toString.js
b/angular/node_modules/bower/lib/node_modules/mout/src/lang/toString.js
new file mode 100644
(file)
index 0000000..
c28b89a
--- /dev/null
+++ b/
angular/node_modules/bower/lib/node_modules/mout/src/lang/toString.js
@@ -0,0
+1,13
@@
+define(function () {
+
+ /**
+ * Typecast a value to a String, using an empty string value for null or
+ * undefined.
+ */
+ function toString(val){
+ return val == null ? '' : val.toString();
+ }
+
+ return toString;
+
+});