projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fefba498b74f0768b25656ed2812b42d000d6e8a
[yaffs-website]
/
node_modules
/
underscore.string
/
unquote.js
1
module.exports = function unquote(str, quoteChar) {
2
quoteChar = quoteChar || '"';
3
if (str[0] === quoteChar && str[str.length - 1] === quoteChar)
4
return str.slice(1, str.length - 1);
5
else return str;
6
};