aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/docs/doc/README.md2
-rwxr-xr-xdoc/docs/zh/doc/README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md
index 7968a09..56d3635 100755
--- a/doc/docs/doc/README.md
+++ b/doc/docs/doc/README.md
@@ -139,7 +139,7 @@ Require YueScript module and rewite message by hand.
139local yue = require("yue") 139local yue = require("yue")
140yue.insert_loader() 140yue.insert_loader()
141local success, result = xpcall(function() 141local success, result = xpcall(function()
142 require("yuescript_module_name") 142 return require("yuescript_module_name")
143end, function(err) 143end, function(err)
144 return yue.traceback(err) 144 return yue.traceback(err)
145end) 145end)
diff --git a/doc/docs/zh/doc/README.md b/doc/docs/zh/doc/README.md
index 882417e..0e5b532 100755
--- a/doc/docs/zh/doc/README.md
+++ b/doc/docs/zh/doc/README.md
@@ -139,7 +139,7 @@ require("yue")("你的脚本入口文件")
139local yue = require("yue") 139local yue = require("yue")
140yue.insert_loaders() 140yue.insert_loaders()
141local success, result = xpcall(function() 141local success, result = xpcall(function()
142 require("yuescript_module_name") 142 return require("yuescript_module_name")
143end, function(err) 143end, function(err)
144 return yue.traceback(err) 144 return yue.traceback(err)
145end) 145end)