mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added string extentions
This commit is contained in:
parent
a10a7a7319
commit
7977220404
1 changed files with 11 additions and 0 deletions
11
app/Lib/Utilities/Extensions.js
Normal file
11
app/Lib/Utilities/Extensions.js
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
define([
|
||||||
|
],
|
||||||
|
|
||||||
|
function() {
|
||||||
|
|
||||||
|
String.prototype.toUpperCaseFirstChar = function () {
|
||||||
|
var f = this.charAt(0).toUpperCase();
|
||||||
|
return f + this.substr(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue