Use single quotes and update krankerl.toml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user