Browse Source

fix typo error

Jordan 6 years ago
parent
commit
c54a076913
1 changed files with 1 additions and 1 deletions
  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) {
 
     // 一些处理编译错误的代码