We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f82e3b6 commit 9310ff4Copy full SHA for 9310ff4
Abp/Framework/scripts/abp.js
@@ -655,6 +655,19 @@
655
return str.substr(0, maxLength - postfix.length) + postfix;
656
};
657
658
+ abp.utils.ensureEndsWith = function (str, c) {
659
+ if (!str) {
660
+ return str;
661
+ }
662
+
663
+ if (str.endsWith(c))
664
+ {
665
666
667
668
+ return str + c;
669
+ };
670
671
abp.utils.isFunction = function (obj) {
672
if ($) {
673
//Prefer to use jQuery if possible
0 commit comments