1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 22:17:20 +00:00
This commit is contained in:
Unknown
2014-05-11 10:37:31 -04:00
parent f68e279150
commit 2c73ced0db
3 changed files with 44 additions and 42 deletions

View File

@ -650,3 +650,7 @@ function initRepoSetting() {
}
});
})(jQuery);
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
};