<commit_before>import QtQuick 2.2

Item {
    property alias icons: variables

    FontLoader {
        id: fontAwesome
        source: "qrc:///resource/fontawesome-webfont.ttf"
    }

    FontAwesomeVariables {
        id: variables
    }

    function family() {
        return "FontAwesome"
    }
}<commit_msg>Added property to set a another font-awesome resource.<commit_after>import QtQuick 2.2

Item {
    property alias icons: variables
    property string source

    function family() {
        return "FontAwesome"
    }

    function resource() {

        if (source === "")
            return "http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/fonts/fontawesome-webfont.ttf"

        return source
    }

    FontLoader {
        id: fontAwesome
        source: resource()
    }

    FontAwesomeVariables {
        id: variables
    }
}
{'fraction_non_alphanumeric': 0.09433962264150944, 'fraction_numerical': 0.008254716981132075, 'mean_word_length': 2.132841328413284, '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': '3461615', 'n_tokens_mistral': 272, 'n_tokens_neox': 248, 'n_words': 58}