This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
|
||||
<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
|
||||
<Copy SourceFiles=".\resource\de.json;.\resource\en.json;.\resource\es.json;.\resource\fr.json" DestinationFolder="$(OutDir)\resource" />
|
||||
<Copy SourceFiles=".\resource\reportjs\ay-report.js;.\resource\reportjs\ay-hb.js;.\resource\reportjs\ay-md.js" DestinationFolder="$(OutDir)\resource\reportjs" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
@@ -128,10 +128,10 @@ namespace AyaNova.Api.Controllers
|
||||
{
|
||||
|
||||
//Add handlebars JS for compiling and presenting
|
||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ayhandlebars.js") });
|
||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-hb.js") });
|
||||
|
||||
//add marked for markdown processing
|
||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "marked.js") });
|
||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-md.js") });
|
||||
|
||||
//test add helpers
|
||||
await page.AddScriptTagAsync(new AddTagOptions() { Path = Path.Combine(ReportJSFolderPath, "ay-report.js") });
|
||||
|
||||
Reference in New Issue
Block a user