From 7977220404887f4d78c6db6319eac714505901aa Mon Sep 17 00:00:00 2001 From: Logsol Date: Sat, 5 Jan 2013 06:13:11 +0100 Subject: [PATCH] added string extentions --- app/Lib/Utilities/Extensions.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/Lib/Utilities/Extensions.js diff --git a/app/Lib/Utilities/Extensions.js b/app/Lib/Utilities/Extensions.js new file mode 100644 index 0000000..edc97f7 --- /dev/null +++ b/app/Lib/Utilities/Extensions.js @@ -0,0 +1,11 @@ +define([ +], + +function() { + + String.prototype.toUpperCaseFirstChar = function () { + var f = this.charAt(0).toUpperCase(); + return f + this.substr(1); + } + +}); \ No newline at end of file