<commit_before>// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');

//var repl = Titanium.Repl.createReplServer();
var replserverModule = require('com.evocomputing.replserver');
Ti.API.info("module is => "+replserverModule);

var repl = replserverModule.createReplServer({'listenPort' : 5071});

//show getting/setting properties
Ti.API.info("repl: "+repl);
Ti.API.info("repl.port: "+repl.listenPort);
repl.listenPort = 5061;
Ti.API.info("repl.port: "+repl.listenPort);
Ti.API.info("repl.isRunning: "+repl.running);

repl.start();

Ti.API.info("replserver.isRunning: "+repl.running);

// create tab group
var tabGroup = Titanium.UI.createTabGroup();


//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({  <commit_msg>Module loading for android is done in a different way.<commit_after>// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');

if(Ti.Platform.osname == 'android') {
  var repl = Titanium.Repl.createReplServer();
}
else if (Ti.Platform.osname == 'iphone'){
  var replserverModule = require('com.evocomputing.replserver');
  Ti.API.info("module is => "+replserverModule);
  var repl = Titanium.Repl.createReplServer();
}



//show getting/setting properties
Ti.API.info("repl: "+repl);
Ti.API.info("repl.port: "+repl.listenPort);
repl.listenPort = 5061;
Ti.API.info("repl.port: "+repl.listenPort);
Ti.API.info("repl.isRunning: "+repl.running);

repl.start();

Ti.API.info("replserver.isRunning: "+repl.running);

// create tab group
var tabGroup = Titanium.UI.createTabGroup();


//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({  
{'fraction_non_alphanumeric': 0.15916760404949382, 'fraction_numerical': 0.01124859392575928, 'mean_word_length': 4.93, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2626681', 'n_tokens_mistral': 643, 'n_tokens_neox': 605, 'n_words': 142}