From 16df083a499e460aa113b1bc9986263a30ed1d31 Mon Sep 17 00:00:00 2001 From: Morgan Wong Date: Thu, 28 Jan 2021 13:15:08 +0800 Subject: [PATCH] Fix ECO template compilation errors This type of escape character compilation errors exists on MACOS only, not author's Docker ubuntu dev, even though both platforms equipped with all the same library versions. --- src/js/apps/lab/apiBrowser/tpl/api_method_page.jst.eco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/apps/lab/apiBrowser/tpl/api_method_page.jst.eco b/src/js/apps/lab/apiBrowser/tpl/api_method_page.jst.eco index 34150ae1..c0c984cd 100644 --- a/src/js/apps/lab/apiBrowser/tpl/api_method_page.jst.eco +++ b/src/js/apps/lab/apiBrowser/tpl/api_method_page.jst.eco @@ -8,7 +8,7 @@ <% if @type is 'method': %>

Execute <%= @method %> with these params:

- +

Parameters get parsed by JSON.parse. Check the console for response objects, you will get an 'unexpected token' error if parsing failed.