Revert to ES5

This commit is contained in:
Jake Howard 2016-03-24 21:13:04 +00:00
parent f3a8621274
commit 93b4f6c5a3

View file

@ -1,11 +1,11 @@
var transformTools = require('browserify-transform-tools');
var transformer = require('./transformer');
const OPTIONS = {
var OPTIONS = {
excludeExtensions: ['.json']
};
module.exports = transformTools.makeStringTransform('jsfuckify', OPTIONS, function (content, transformOptions, done) {
const newContent = transformer(content, transformOptions.config);
var newContent = transformer(content, transformOptions.config);
done(null, newContent);
});