grunt-buddha 在webapp 只有首行有注釋 但在plugin test 中沒問題 為什么呀
commentFilePath = path.join( __dirname, commentFilePathMap[who] ),
????? commentContent = grunt.file.read(commentFilePath),
????? lineCommentArr = commentContent.split(grunt.util.normalizelf('\n')),
????? fileTestRexgMap = {
??????? 'buddle': /o8888888o/
????? }
2016-02-04
buddha.js第40行: lineCommentArr = commentContent.split(grunt.util.normalizelf('\n'));
改成:?lineCommentArr = grunt.util.normalizelf(commentContent).split(grunt.util.normalizelf('\n'));
就好了.