diff options
author | Marvin Borner | 2018-11-07 22:10:16 +0100 |
---|---|---|
committer | Marvin Borner | 2018-11-07 22:10:17 +0100 |
commit | 954583f3d56fbfb60321725f13ad092e536e3737 (patch) | |
tree | a0505a763797582c61fd8c2f90b422456d8874c9 /node_modules/locutus/python/string/capwords.js.map | |
parent | 1c355e6e956a4e507ed5436d0c814ba9c3a1deb2 (diff) |
Removed node_modules
Diffstat (limited to 'node_modules/locutus/python/string/capwords.js.map')
-rw-r--r-- | node_modules/locutus/python/string/capwords.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/python/string/capwords.js.map b/node_modules/locutus/python/string/capwords.js.map deleted file mode 100644 index ad1ea35..0000000 --- a/node_modules/locutus/python/string/capwords.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/python/string/capwords.js"],"names":["module","exports","capwords","str","pattern","replace","$1","toUpperCase"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,CAAmBC,GAAnB,EAAwB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAU,gDAAd;AACA,SAAO,CAACD,MAAM,EAAP,EAAWE,OAAX,CAAmBD,OAAnB,EAA4B,UAAUE,EAAV,EAAc;AAC/C,WAAOA,GAAGC,WAAH,EAAP;AACD,GAFM,CAAP;AAGD,CAjBD","file":"capwords.js","sourcesContent":["module.exports = function capwords (str) {\n // discuss at: http://locutus.io/python/capwords/\n // original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)\n // improved by: Waldo Malqui Silva (http://waldo.malqui.info)\n // improved by: Robin\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)\n // input by: James (http://www.james-bell.co.uk/)\n // example 1: capwords('kevin van zonneveld')\n // returns 1: 'Kevin Van Zonneveld'\n // example 2: capwords('HELLO WORLD')\n // returns 2: 'HELLO WORLD'\n\n var pattern = /^([a-z\\u00E0-\\u00FC])|\\s+([a-z\\u00E0-\\u00FC])/g\n return (str + '').replace(pattern, function ($1) {\n return $1.toUpperCase()\n })\n}\n"]}
\ No newline at end of file |