<commit_before>glue.module.get(
    [
        'glue',
        'glue/game',
        'glue/loader',
        'glue/math/dimension',
        'glue/math/vector',
        'glue/baseobject',
        'glue/component/visible',
        'glue/component/clickable'
    ],
    function (
        Glue,
        Game,
        Loader,
        Dimension,
        Vector,
        BaseObject,
        Visible,
        Clickable
    ) {
        'use strict';
        var audio = Glue.audio;
        Game.setup({
            game: {
                name: 'Audio'
            },
            canvas: {
                id: 'canvas',
                dimension: Dimension(600, 600)
            },
            develop: {
                debug: true
            },
            asset: {
                path: 'asset/',
                image: {
                    button: 'button.png'
                },
                audio: {
                    thunder: 'thunder.ogg',
                    sounds: 'sounds.ogg'
                }
            }
        }, function () {
            var Audio = Glue.audio,
                playing = false,
                buttonPosition,
                sound = null,
                playButton = BaseObject(Visible, Clickable).add({
                    init: function () {
                        this.visible.setup({
                            position: Vector(0, 0),
                            image: Loader.getAsset('button')
                        });
                        buttonPosition = this.visible.getPosition();
                    },
                    draw: function (deltaT, context) {
                        var value = this.playing ? 'Stop' : 'Play';
                        this.base.draw(deltaT, context);
                        context.font = '20px Verdana';<commit_msg>fixed audio example<commit_after>glue.module.get(
    [
        'glue',
        'glue/game',
        'glue/loader',
        'glue/math/dimension',
        'glue/math/vector',
        'glue/baseobject',
        'glue/component/visible',
        'glue/component/clickable'
    ],
    function (
        Glue,
        Game,
        Loader,
        Dimension,
        Vector,
        BaseObject,
        Visible,
        Clickable
    ) {
        'use strict';
        var audio = Glue.audio;
        Game.setup({
            game: {
                name: 'Audio'
            },
            canvas: {
                id: 'canvas',
                dimension: Dimension(600, 600)
            },
            develop: {
                debug: true
            },
            asset: {
                path: 'asset/',
                image: {
                    button: 'button.png'
                },
                audio: {
                    thunder: 'thunder.ogg',
                    sounds: 'sounds.ogg'
                }
            }
        }, function () {
            var Audio = Glue.audio,
                playing = false,
                buttonPosition,
                sound = null,
                playButton = BaseObject(Visible, Clickable).add({
                    init: function () {
                        this.visible.setup({
                            position: Vector(0, 0),
                            image: Loader.getAsset('button')
                        });
                        buttonPosition = this.getPosition();
                    },
                    draw: function (deltaT, context) {
                        var value = this.playing ? 'Stop' : 'Play';
                        this.base.draw(deltaT, context);
                        context.font = '20px Verdana';
{'fraction_non_alphanumeric': 0.10460599334073252, 'fraction_numerical': 0.005549389567147614, 'mean_word_length': 0.8776041666666666, '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': '6234865', 'n_tokens_mistral': 937, 'n_tokens_neox': 868, 'n_words': 167}