| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1× 1× 1× | /*
* 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');
|