<commit_before>/**
 * Module dependencies.
 */

var fs = require('fs')
  , package = JSON.parse(fs.readFileSync(__dirname+ '/../package.json'))
  , uglify = require('uglify-js');

/**
 * License headers.
 *
 * @api private
 */

var template = '/*! bridge.%ext% build:' + package.version + ', %type%. Copyright(c) 2011 Flotype <<EMAIL>> MIT Licensed */\n'
  , development = template.replace('%type%', 'development').replace('%ext%', 'js')
  , production = template.replace('%type%', 'production').replace('%ext%', 'min.js');

/**
 * If statements, these allows you to create serveride & client side compatible
 * code using specially designed `if` statements that remove serverside
 * designed code from the source files
 *
 * @api private
 */

var starttagIF = '// if node'
  , endtagIF = '// end node';

/**
 * The modules that are required to create a base build of Bridge.
 *
 * @const
 * @type {Array}
 * @api private
 */

var base = [
  , 'util.js'
  , 'ref.js'
  , 'serializer.js'
  , 'connection.js'<commit_msg>add sockjs<commit_after>/**
 * Module dependencies.
 */

var fs = require('fs')
  , package = JSON.parse(fs.readFileSync(__dirname+ '/../package.json'))
  , uglify = require('uglify-js');

/**
 * License headers.
 *
 * @api private
 */

var template = '/*! bridge.%ext% build:' + package.version + ', %type%. Copyright(c) 2011 Flotype <<EMAIL>> MIT Licensed */\n'
  , development = template.replace('%type%', 'development').replace('%ext%', 'js')
  , production = template.replace('%type%', 'production').replace('%ext%', 'min.js');

/**
 * If statements, these allows you to create serveride & client side compatible
 * code using specially designed `if` statements that remove serverside
 * designed code from the source files
 *
 * @api private
 */

var starttagIF = '// if node'
  , endtagIF = '// end node';

/**
 * The modules that are required to create a base build of Bridge.
 *
 * @const
 * @type {Array}
 * @api private
 */

var base = [
    'deps/sockjs.min.js'
  , 'util.js'
  , 'ref.js'
  , 'serializer.js'
  , 'connection.js'
{'fraction_non_alphanumeric': 0.18124392614188534, 'fraction_numerical': 0.003887269193391642, 'mean_word_length': 3.5553097345132745, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3702770', 'n_tokens_mistral': 674, 'n_tokens_neox': 658, 'n_words': 189}