<commit_before>"use strict";

var puckt = puckt || {};
puckt.Puck = (function () {
    var Puck = puckt.Obj.extend({
        init: function (world, props) {
            var s;
            s = new box2d.b2CircleShape(puckt.util.pixelsToMetres(props.radius));

            this._super(world, "puck", {
                x: props.x,
                y: props.y,
                fixDef: {
                    density: Puck.realMass / (Math.PI * Math.pow(Puck.realRadius, 2)),
                    friction: 0.01,
                    restitution: 0.8,
                    shape: s
                },
                bodyDef: {
                    type: box2d.b2Body.b2_dynamicBody,
                    angle: props.angle || 0
                }
            });

            this.shape.graphics.beginFill('#fff').drawCircle(0, 0, props.radius);
        }
    });

    Puck.realMass = 0.17 * 100;
    Puck.realRadius = (0.0762 / 2) * 100;

    return Puck;
})();<commit_msg>Changed colour of puck back<commit_after>"use strict";

var puckt = puckt || {};
puckt.Puck = (function () {
    var Puck = puckt.Obj.extend({
        init: function (world, props) {
            var s;
            s = new box2d.b2CircleShape(puckt.util.pixelsToMetres(props.radius));

            this._super(world, "puck", {
                x: props.x,
                y: props.y,
                fixDef: {
                    density: Puck.realMass / (Math.PI * Math.pow(Puck.realRadius, 2)),
                    friction: 0.01,
                    restitution: 0.8,
                    shape: s
                },
                bodyDef: {
                    type: box2d.b2Body.b2_dynamicBody,
                    angle: props.angle || 0
                }
            });

            this.shape.graphics.beginFill('#222222').drawCircle(0, 0, props.radius);
        }
    });

    Puck.realMass = 0.17 * 100;
    Puck.realRadius = (0.0762 / 2) * 100;

    return Puck;
})();
{'fraction_non_alphanumeric': 0.13189077794951057, 'fraction_numerical': 0.03297269448737764, 'mean_word_length': 1.260768335273574, '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': '1732634', 'n_tokens_mistral': 669, 'n_tokens_neox': 591, 'n_words': 114}