<commit_before>// Module: OpenContext HTML

define(['jquery'], function($) {
    return {
        name: 'Portable Antiquities Scheme Object',
        dataType: 'html',
        type: 'object',
        parseData: function(html) {
            var getText = awld.accessor(html);
            var imageURI = 'http://finds.org.uk/' + getText('a[rel="lightbox"] img', 'src')
            return {
                name: "PAS " + getText('a[rel="lightbox"]', 'title'),
                description: '<br/><img style="max-width:150" src="'+imageURI+'"/>'
            };
        },
    };
});<commit_msg>finds.uk.org now CORS enabled<commit_after>// Module: OpenContext HTML

define(['jquery'], function($) {
    return {
        name: 'Portable Antiquities Scheme Object',
        dataType: 'html',
        type: 'object',
        corsEnabled: true,
        parseData: function(html) {
            var getText = awld.accessor(html);
            var imageURI = 'http://finds.org.uk/' + getText('a[rel="lightbox"] img', 'src')
            return {
                name: "PAS " + getText('a[rel="lightbox"]', 'title'),
                description: '<br/><img style="max-width:150" src="'+imageURI+'"/>'
            };
        },
    };
});
{'fraction_non_alphanumeric': 0.17988552739165986, 'fraction_numerical': 0.004905968928863451, 'mean_word_length': 2.122448979591837, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3300003', 'n_tokens_mistral': 378, 'n_tokens_neox': 369, 'n_words': 77}