Use single quotes and update krankerl.toml

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-05-12 13:19:03 +02:00
parent c4dfb75b3a
commit dd008f0895
7 changed files with 17 additions and 17 deletions

View File

@@ -166,7 +166,7 @@ app.factory('ApiService', function ($http, $q) {
ApiService.prototype.getName = function () {
var funcNameRegex = /function (.{1,})\(/;
var results = (funcNameRegex).exec((this).constructor.toString());
return (results && results.length > 1) ? results[1] : "";
return (results && results.length > 1) ? results[1] : '';
};
return ApiService;