WIP - add extractor, generate snippet_data
This commit is contained in:
7
node_modules/underscore.string/swapCase.js
generated
vendored
Normal file
7
node_modules/underscore.string/swapCase.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
var makeString = require('./helper/makeString');
|
||||
|
||||
module.exports = function swapCase(str) {
|
||||
return makeString(str).replace(/\S/g, function(c) {
|
||||
return c === c.toUpperCase() ? c.toLowerCase() : c.toUpperCase();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user