all files / binary-pack/ index.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                           
/*
 * index.js :: include for the binarypack modules
 *
 * (C) 2013 Jarrett Cruger -- MIT
 *
 */
 
var read = require('fs').readFileSync
  , join = require('path').join;
 
exports = module.exports = require('binarypack');
 
//
// Expose source of browser code to be loaded by primus.
//
exports.BrowserSource = read(join(__dirname, 'vendor/binarypack.js'), 'utf-8');