<commit_before>/* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.
 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 
 * for the full text of the license. */


/* OpenLayers.Class metaclass */
OpenLayers.Class = {
    isPrototype: function () {}, // magic anonymous value

    create: function() {
        return function() {
            if (arguments && arguments[0] != OpenLayers.Class.isPrototype)
                this.initialize.apply(this, arguments);
        }
    },
 
    inherit: function () {
        var superClass = arguments[0];
        var proto = new superClass(OpenLayers.Class.isPrototype);
        for (var i = 1; i < arguments.length; i++) {
            if (typeof arguments[i] == "function") {
                var mixin = arguments[i];
                arguments[i] = mixin.prototype;
            }
            OpenLayers.Util.extend(proto, arguments[i]);

            // This is a hack for IE see
            // http://trac.openlayers.org/attachment/ticket/552
            // 
            // The problem is that ie doesnt recognize toString as a property
            //  so the util.extend() doesnt copy it over. we do it manually.
            // 
            // to be revisited in 3.0
            // 
            if (arguments[i].toString) {
                proto.toString = arguments[i].toString;
            }
        }
        return proto;
    }
};

/*
    OpenLayers.Class.inherit( OpenLayers.Layer.Grid, OpenLayers.Layer.HTTPRequest, {
        some stuff
    });
*/<commit_msg>Oops, didn't mean to apply changes to BaseTypes in r2899. I gotta remember to svn status next time.<commit_after>/* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.
 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 
 * for the full text of the license. */


/* OpenLayers.Class metaclass */
OpenLayers.Class = {
    isPrototype: function () {}, // magic anonymous value

    create: function() {
        return function() {
            if (arguments && arguments[0] != OpenLayers.Class.isPrototype)
                this.initialize.apply(this, arguments);
        }
    },
 
    inherit: function () {
        var superClass = arguments[0];
        var proto = new superClass(OpenLayers.Class.isPrototype);
        for (var i = 1; i < arguments.length; i++) {
            if (typeof arguments[i] == "function") {
                var mixin = arguments[i];
                arguments[i] = new mixin(OpenLayers.Class.isPrototype);
            }
            OpenLayers.Util.extend(proto, arguments[i]);

            // This is a hack for IE see
            // http://trac.openlayers.org/attachment/ticket/552
            // 
            // The problem is that ie doesnt recognize toString as a property
            //  so the util.extend() doesnt copy it over. we do it manually.
            // 
            // to be revisited in 3.0
            // 
            if (arguments[i].toString) {
                proto.toString = arguments[i].toString;
            }
        }
        return proto;
    }
};

/*
    OpenLayers.Class.inherit( OpenLayers.Layer.Grid, OpenLayers.Layer.HTTPRequest, {
        some stuff
    });
*/
{'fraction_non_alphanumeric': 0.11653200745804848, 'fraction_numerical': 0.00870105655686762, 'mean_word_length': 1.8040069686411149, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2983411', 'n_tokens_mistral': 932, 'n_tokens_neox': 870, 'n_words': 243}