Loading src/app/kicker.ts +3 −3 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ export class Project { this.name = name; this.path = path; this.tag = tag; this.tags = tags; this.tags = tags || [tag]; this.web_url = web_url; this.avatar = avatar; } Loading Loading @@ -237,7 +237,7 @@ export class Variant { } get templateFile(): string { return this.template_path.split('/').pop() return this.template_path.split(/[\/\.]/)[1] } getVariable(name: string): Variable | undefined { Loading Loading @@ -276,7 +276,7 @@ export class Template { } get templateFile(): string { return this.template_path.split('/').pop() return this.template_path.split(/[\/\.]/)[1] } get var_prefix(): string { Loading Loading
src/app/kicker.ts +3 −3 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ export class Project { this.name = name; this.path = path; this.tag = tag; this.tags = tags; this.tags = tags || [tag]; this.web_url = web_url; this.avatar = avatar; } Loading Loading @@ -237,7 +237,7 @@ export class Variant { } get templateFile(): string { return this.template_path.split('/').pop() return this.template_path.split(/[\/\.]/)[1] } getVariable(name: string): Variable | undefined { Loading Loading @@ -276,7 +276,7 @@ export class Template { } get templateFile(): string { return this.template_path.split('/').pop() return this.template_path.split(/[\/\.]/)[1] } get var_prefix(): string { Loading