浏览代码

Fix a typo in an Exporting for Web code sample (#3241)

Hugo Locurcio 5 年之前
父节点
当前提交
32460e7e31
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/workflow/export/exporting_for_web.rst

+ 1 - 1
getting_started/workflow/export/exporting_for_web.rst

@@ -225,5 +225,5 @@ defaulting to ``false`` to prevent polluting the global namespace::
 
     func my_func4():
         # execute in global execution context,
-        # thus adding a new JavaScript global variable `MyGlobal`
+        # thus adding a new JavaScript global variable `SomeGlobal`
         JavaScript.eval("var SomeGlobal = {};", true)