Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
file({'backbone.iobind.js': ['lib/copyright.js', 'lib/model.js', 'lib/collection.js', 'lib/prefix.js', 'lib/suffix.js']}, function () {
var binding = new folio.glossary([
path.join(__dirname, 'lib', 'copyright.js'),
path.join(__dirname, 'lib', 'prefix.js'),
path.join(__dirname, 'lib', 'model.js'),
path.join(__dirname, 'lib', 'collection.js'),
path.join(__dirname, 'lib', 'suffix.js')
]);
binding.compile(function (err, source) {
fs.writeFileSync(path.join(__dirname, 'backbone.iobind.js'), source);
console.log('Build successful: '.green + '\tbackbone.iobind.js'.blue);
});
});