浏览代码

fix typo error

Jordan 6 年之前
父节点
当前提交
c54a076913
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/art/80vue-compiler-start.md

+ 1 - 1
docs/art/80vue-compiler-start.md

@@ -886,7 +886,7 @@ export function otherCompiler (template: string, options: CompilerOptions) {
 
 ```js
 function createCompilerCreator (baseCompile) {
-  return customCompiler function (template: string, options: CompilerOptions) {
+  return function customCompiler (template: string, options: CompilerOptions) {
 
     // 一些处理编译错误的代码