wappsto-blanket
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -16,4 +16,4 @@ "use strict"; | ||
function tC(str) { | ||
var newStr = str ? t(str) : ''; | ||
function tC(str, options) { | ||
var newStr = str ? t(str, options) : ''; | ||
return newStr.charAt(0).toUpperCase() + newStr.slice(1); | ||
@@ -23,4 +23,4 @@ } // translate + Capitalize Each | ||
function tCE(str) { | ||
var newStr = str ? t(str) : ''; | ||
function tCE(str, options) { | ||
var newStr = str ? t(str, options) : ''; | ||
return newStr.replace(/\w\S*/g, function (txt) { | ||
@@ -32,4 +32,4 @@ return txt.charAt(0).toUpperCase() + txt.substr(1); | ||
function tU(str) { | ||
var newStr = str ? t(str) : ''; | ||
function tU(str, options) { | ||
var newStr = str ? t(str, options) : ''; | ||
return newStr.toUpperCase(); | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "wappsto-blanket", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117109