added string extentions

This commit is contained in:
Logsol 2013-01-05 06:13:11 +01:00
parent a10a7a7319
commit 7977220404

View file

@ -0,0 +1,11 @@
define([
],
function() {
String.prototype.toUpperCaseFirstChar = function () {
var f = this.charAt(0).toUpperCase();
return f + this.substr(1);
}
});