| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 1 36365 36364 3656 32708 | 'use strict';
// check for line comment on the line
var hasComment = /(\/\/)/;
module.exports = function checkForComment( line ) {
if ( typeof line !== 'string' ) { return; }
// ex }, but only if we've already establish that we're not in a hash
if ( hasComment.test(line) ) {
return true;
}
else {
return false;
}
} |