<commit_before><?xml version="1.0" encoding="UTF-8"?>

<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.core.CompassListener"
    version="0.1.0">
    
    <name>Device Orientation</name>

    <js-module src="www/CompassError.js" name="CompassError">
        <clobbers target="CompassError" />
    </js-module>

    <js-module src="www/CompassHeading.js" name="CompassHeading">
        <clobbers target="CompassHeading" />
    </js-module>
    
    <js-module src="www/compass.js" name="compass">
        <clobbers target="navigator.compass" />
    </js-module>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="plugins">
	        <plugin name="Compass" value="org.apache.cordova.core.CompassListener" />
	    </config-file>

	    <source-file src="src/android/CompassListener.java" target-dir="src/org/apache/cordova/core" />
    </platform>
    
    <!-- ios -->
    <platform name="ios">
        
        <config-file target="config.xml" parent="plugins">
            <plugin name="Compass" value="CDVCompass"/>
        </config-file>
        
	    <header-file src="src/ios/CDVCompass.h" />
	    <source-file src="src/ios/CDVCompass.m" />
        
    </platform>
    
</plugin><commit_msg>updated plugin.xml to use feature<commit_after><?xml version="1.0" encoding="UTF-8"?>

<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.core.CompassListener"
    version="0.1.0">
    
    <name>Device Orientation</name>

    <js-module src="www/CompassError.js" name="CompassError">
        <clobbers target="CompassError" />
    </js-module>

    <js-module src="www/CompassHeading.js" name="CompassHeading">
        <clobbers target="CompassHeading" />
    </js-module>
    
    <js-module src="www/compass.js" name="compass">
        <clobbers target="navigator.compass" />
    </js-module>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="plugins">
	    <feature name="Compass">
	        <param name="android-package" value="org.apache.cordova.core.CompassListener"/>
	    </feature>
	</config-file>

	<source-file src="src/android/CompassListener.java" target-dir="src/org/apache/cordova/core" />
    </platform>
    
    <!-- ios -->
    <platform name="ios">
        
	<config-file target="config.xml" parent="plugins">
	    <feature name="Compass">
	        <param name="ios-package" value="CDVCompass"/>
	    </feature>
        </config-file>
        
	<header-file src="src/ios/CDVCompass.h" />
	<source-file src="src/ios/CDVCompass.m" />
        
    </platform>
    
</plugin>
{'fraction_non_alphanumeric': 0.1832913215700396, 'fraction_numerical': 0.005761613251710479, 'mean_word_length': 2.8636995827538247, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 2, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 13}, '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': '6043475', 'n_tokens_mistral': 960, 'n_tokens_neox': 930, 'n_words': 125}