Code coverage report for literalify/index.js

Statements: 80% (4 / 5)      Branches: 75% (3 / 4)      Functions: 100% (1 / 1)      Lines: 80% (4 / 5)      Ignored: none     

All files » literalify/ » index.js
1 2 3 4 5 6 7 8 9 10 11  1   1 1 1          
/*! literalify 0.3.0 Original author Alan Plum <me@pluma.io>. Released into the Public Domain under the UNLICENSE. @preserve */
var transformTools = require('browserify-transform-tools');
 
module.exports = transformTools.makeRequireTransform('literalify', {}, function(args, opts, cb) {
  Eif (opts.config && args[0] in opts.config) {
    return cb(null, opts.config[args[0]]);
  } else {
    return cb();
  }
});