Closed qqqzhch closed 10 years ago
error: Warning: Object false has no method 'split' Use --force to continue. mycode jst: { compile: { options: { amd: true, // define()的方法包裹生成的内容 namespace: false, // prettify: true, // 生成的内容在一行 templateSettings: { evaluate: /{%([\s\S]+?)%}/g, interpolate: /{{([\s\S]+?)}}/g, escape: /{%-([\s\S]+?)%}/g } } }, files: { expand: true, // 开启构建动态文件对象 cwd: 'js/app/', // 模板目录(源文件) src: ['*/.htm'], // 能匹配到模板的二级目录 dest: 'js/app/jst/', // 目标文件目录 ext: '.js' // 目标文件的后缀名 }
}
myhtml {%list.each(function(tab,n){%}
how can id do now?
The namespace option can either be undefined or a string. If you don't want to change the default value, then don't specify a value for it.
error: Warning: Object false has no method 'split' Use --force to continue. mycode jst: { compile: { options: { amd: true, // define()的方法包裹生成的内容 namespace: false, // prettify: true, // 生成的内容在一行 templateSettings: { evaluate: /{%([\s\S]+?)%}/g, interpolate: /{{([\s\S]+?)}}/g, escape: /{%-([\s\S]+?)%}/g } } }, files: { expand: true, // 开启构建动态文件对象 cwd: 'js/app/', // 模板目录(源文件) src: ['*/.htm'], // 能匹配到模板的二级目录 dest: 'js/app/jst/', // 目标文件目录 ext: '.js' // 目标文件的后缀名 }
myhtml {%list.each(function(tab,n){%}
how can id do now?