<commit_before>/**
 * SMS Composer plugin for Cordova
 * window.plugins.SMSComposer
 *
 * @constructor
 */
function SMSComposer()
{
	this.resultCallback = null;
}

SMSComposer.ComposeResultType =
{
Cancelled:0,
Sent:1,
Failed:2,
NotSent:3
}

SMSComposer.prototype.showSMSComposer = function(toRecipients, body)
{
	var element = document.getElementById('geolocation').innerHTML;
	
/*
	var args = {};
    
	if(toRecipients)
		args.toRecipients = toRecipients;
    
	if(body)
		args.body = body;
  */  
	cordova.exec(null, null, "SMSComposer","showSMSComposer",[{"toRecipients":"3167378786","body":element}]);
}

SMSComposer.prototype.showSMSComposerWithCB = function(cbFunction,toRecipients,body)
{
	this.resultCallback = cbFunction;
	this.showSMSComposer.apply(this,[toRecipients,body]);
}

SMSComposer.prototype._didFinishWithResult = function(res)
{
	this.resultCallback(res);
}

cordova.addConstructor(function() {
                       
					   if(!window.plugins)	{
					   window.plugins = {};
					   }
					   window.plugins.smsComposer = new SMSComposer();
					   });<commit_msg>removed personal number used for testing with SMS.. changed to 3165555555<commit_after>/**
 * SMS Composer plugin for Cordova
 * window.plugins.SMSComposer
 *
 * @constructor
 */
function SMSComposer()
{
	this.resultCallback = null;
}

SMSComposer.ComposeResultType =
{
Cancelled:0,
Sent:1,
Failed:2,
NotSent:3
}

SMSComposer.prototype.showSMSComposer = function(toRecipients, body)
{
	var element = document.getElementById('geolocation').innerHTML;
	
/*
	var args = {};
    
	if(toRecipients)
		args.toRecipients = toRecipients;
    
	if(body)
		args.body = body;
  */  
	cordova.exec(null, null, "SMSComposer","showSMSComposer",[{"toRecipients":"3165555555","body":element}]);
}

SMSComposer.prototype.showSMSComposerWithCB = function(cbFunction,toRecipients,body)
{
	this.resultCallback = cbFunction;
	this.showSMSComposer.apply(this,[toRecipients,body]);
}

SMSComposer.prototype._didFinishWithResult = function(res)
{
	this.resultCallback(res);
}

cordova.addConstructor(function() {
                       
					   if(!window.plugins)	{
					   window.plugins = {};
					   }
					   window.plugins.smsComposer = new SMSComposer();
					   });
{'fraction_non_alphanumeric': 0.13404825737265416, 'fraction_numerical': 0.016979445933869526, 'mean_word_length': 4.100227790432802, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '6849182', 'n_tokens_mistral': 857, 'n_tokens_neox': 754, 'n_words': 106}