<commit_before>'use strict';

/**
 * Main module of the crosscheck app for browser usage.
 * Needed by browserify
 * @module browser
 *
 * @borrows module:conf.reconfigure as configure
 */
 
 
var conf = require("./conf"),
  cache = require("./cache"),
  asana = require("./asana"),
  syncModule = require("./sync"),
  _ = require("lodash");


// Initialization
cache.init();


/**
 * Synchronize work between services. The main application entry point.
 * @static
 */ 
function sync () {
  console.log("Sync - " + new Date());

  return asana.getProjects(conf.get("keywordPrefix") + conf.get("keyword"))
    .map(syncModule.syncAsanaProject);
}



module.exports = {
  sync : sync,
  configure : conf.reconfigure
  
  // Private methods exposed for testing
};<commit_msg>Expose asana and github modiules to browserified module<commit_after>'use strict';

/**
 * Main module of the crosscheck app for browser usage.
 * Needed by browserify
 * @module browser
 *
 * @borrows module:conf.reconfigure as configure
 */
 
 
var conf = require("./conf"),
  cache = require("./cache"),
  asana = require("./asana"),
  github = require("./github"),
  syncModule = require("./sync"),
  _ = require("lodash");


// Initialization
cache.init();


/**
 * Synchronize work between services. The main application entry point.
 * @static
 */ 
function sync () {
  console.log("Sync - " + new Date());

  return asana.getProjects(conf.get("keywordPrefix") + conf.get("keyword"))
    .map(syncModule.syncAsanaProject);
}



module.exports = {
  sync : sync,
  configure : conf.reconfigure,
  asana : asana,
  github : github

  
  // Private methods exposed for testing
};
{'fraction_non_alphanumeric': 0.1510574018126888, 'fraction_numerical': 0.0, 'mean_word_length': 3.5494505494505493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4688780', 'n_tokens_mistral': 519, 'n_tokens_neox': 495, 'n_words': 135}