<commit_before>
var sms = {
    send: function(phone, message, method, successCallback, failureCallback) {
        if (Object.prototype.toString.call(phone) !== '[object Array]') {
          phone = [phone];
        }
        cordova.exec(
            successCallback,<commit_msg>Add backward compatibility with old iOS plugin<commit_after>var sms = {
    send: function(phone, message, method, successCallback, failureCallback) {
    	// iOS plugin used to accept comma-separated phone numbers, keep the
    	// compatibility
    	if (typeof phone === 'string' && phone.indexOf(',') !== -1) {
    	    phone = phone.split(',');
    	}
        if (Object.prototype.toString.call(phone) !== '[object Array]') {
            phone = [phone];
        }
        cordova.exec(
            successCallback,
{'fraction_non_alphanumeric': 0.13391739674593242, 'fraction_numerical': 0.0012515644555694619, 'mean_word_length': 2.5398230088495577, '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': '4277457', 'n_tokens_mistral': 221, 'n_tokens_neox': 218, 'n_words': 57}