tasks/strip_code.js
function (params) {

            var message = translate(errors[params.caseNum])
                .replace('%n', (params.lineNum + 1).toString())
                .replace('%p', params.pattern)
                .replace('%x', params.start)
                .replace('%y', (params.endLineNum + 1).toString())
                .replace('%f', currentFile);
            if (options.testMode === true) {
                grunt.log.writeln(message);
            } else {
                grunt.warn(message);
            }
        }
function (params) {

            var message = translate(errors[params.caseNum])
                .replace('%n', (params.lineNum + 1).toString())
                .replace('%p', params.pattern)
                .replace('%x', params.start)
                .replace('%y', (params.endLineNum + 1).toString())
                .replace('%f', currentFile);
            if (options.testMode === true) {
                grunt.log.writeln(message);
            } else {
                grunt.warn(message);
            }
        }
function ( params ) { var message = translate ( errors [ params . caseNum ] ) . replace ( '%n' , ( params . lineNum + 1 ) . toString ( ) ) . replace ( '%p' , params . pattern ) . replace ( '%x' , params . start ) . replace ( '%y' , ( params . endLineNum + 1 ) . toString ( ) ) . replace ( '%f' , currentFile ) ; if ( options . testMode === true ) { grunt . log . writeln ( message ) ; } else { grunt . warn ( message ) ; } }
Generates error messages for block and pattern errors then quits.
Generates error messages for block and pattern errors then quits .