<commit_before>var myApp = new Framework7({
	pushState: true,
	material: true,
	swipePanel: 'left'
	
	
});


// If we need to use custom DOM library, let's save it to $$ variable:
var $$ = Dom7;

var mainView = myApp.addView('.view-main', {
});
$$(document).on('deviceready', function() {
	
	$$('.panel-links').on('click', function(e){
				myApp.closePanel();
			});
			
			window.plugins.sim.getSimInfo(successCallback, errorCallback);
});

				function successCallback(result) {
				 
				 console.log(result);
				 simcardjson = JSON.parse("'"+result+"'");
				 alert(simcardjson.carrierName);
				}

				function errorCallback(error) {
					alert('something screwed up');
				  console.log(error);
				}

				function hasReadPermission() {
				  window.plugins.sim.hasReadPermission(successCallback, errorCallback);
				}
				
				function requestReadPermission() {
				  window.plugins.sim.requestReadPermission(successCallback, errorCallback);
				}<commit_msg>Update index.js<commit_after>var myApp = new Framework7({
	pushState: true,
	material: true,
	swipePanel: 'left'
	
	
});


// If we need to use custom DOM library, let's save it to $$ variable:
var $$ = Dom7;

var mainView = myApp.addView('.view-main', {
});
$$(document).on('deviceready', function() {
	
	$$('.panel-links').on('click', function(e){
				myApp.closePanel();
			});
			
			window.plugins.sim.getSimInfo(successCallback, errorCallback);
});

				function successCallback(result) {
				 
				 console.log(result);
				simcardjson = JSON.stringify(result);
				alert('saga :' + simcardjson.carrierName);
				 simcardjson = JSON.parse(result);
				 alert('admire :' + simcardjson.carrierName);
				}

				function errorCallback(error) {
					alert('something screwed up');
				  console.log(error);
				}

				function hasReadPermission() {
				  window.plugins.sim.hasReadPermission(successCallback, errorCallback);
				}
				
				function requestReadPermission() {
				  window.plugins.sim.requestReadPermission(successCallback, errorCallback);
				}
{'fraction_non_alphanumeric': 0.14679802955665025, 'fraction_numerical': 0.0019704433497536944, 'mean_word_length': 3.6054421768707483, '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': '298606', 'n_tokens_mistral': 773, 'n_tokens_neox': 595, 'n_words': 116}