Current section

Files

Jump to
excessibility assets node_modules html_codesniffer index.js
Raw

assets/node_modules/html_codesniffer/index.js

var fs = require('fs');
var scriptPath = __dirname+'/build/HTMLCS.js';
if (fs.existsSync(scriptPath) === true) {
module.exports = require(scriptPath);
} else {
throw new Error('HTMLCS must be built using `grunt build` before it can be required in Node.js.');
}