<commit_before>/*
 * Copyright (c) 2012, 2013 <NAME>
 * Open source under the MIT License.
 * https://raw.github.com/taye/interact.js/master/LICENSE
 */

/**
 * @namespace interact.js module
 * @name interact
 */
(function(interact) {
    'use strict';

    var svg,
        svgNS = 'http://www.w3.org/2000/svg',
        SVGElement = window.SVGElement;

    function DemoGraphic(id) {
            var width = window.innerWidth,
                height = window.innerHeight,
                group = svg.appendChild(document.createElementNS(svgNS, 'g')),
                ellipse = group.appendChild(document.createElementNS(svgNS, 'ellipse')),
                text = group.appendChild(document.createElementNS( svgNS, 'text')),
                title = group.appendChild(document.createElementNS(svgNS, 'text'));


            ellipse.demo = true;
            ellipse.text = text;
            window[id] = ellipse;

            ellipse.dragX = Math.random()*(width - 200);
            ellipse.dragY = Math.random()*(height - 200);
            ellipse.resizeWidth  = 80;
            ellipse.resizeHeight = 80;

            group.setAttribute('transform', ['translate(', ellipse.dragX, ellipse.dragY, ')'].join(' '));
            group.setAttribute('class', 'demo-node');

            ellipse.setAttribute('cx', 0);
            ellipse.setAttribute('cy', 0);<commit_msg>Remove useless jsdoc from demo code<commit_after>/*
 * Copyright (c) 2012, 2013 <NAME>
 * Open source under the MIT License.
 * https://raw.github.com/taye/interact.js/master/LICENSE
 */

(function(interact) {
    'use strict';

    var svg,
        svgNS = 'http://www.w3.org/2000/svg',
        SVGElement = window.SVGElement;

    function DemoGraphic(id) {
            var width = window.innerWidth,
                height = window.innerHeight,
                group = svg.appendChild(document.createElementNS(svgNS, 'g')),
                ellipse = group.appendChild(document.createElementNS(svgNS, 'ellipse')),
                text = group.appendChild(document.createElementNS( svgNS, 'text')),
                title = group.appendChild(document.createElementNS(svgNS, 'text'));


            ellipse.demo = true;
            ellipse.text = text;
            window[id] = ellipse;

            ellipse.dragX = Math.random()*(width - 200);
            ellipse.dragY = Math.random()*(height - 200);
            ellipse.resizeWidth  = 80;
            ellipse.resizeHeight = 80;

            group.setAttribute('transform', ['translate(', ellipse.dragX, ellipse.dragY, ')'].join(' '));
            group.setAttribute('class', 'demo-node');

            ellipse.setAttribute('cx', 0);
            ellipse.setAttribute('cy', 0);
{'fraction_non_alphanumeric': 0.14195466369379414, 'fraction_numerical': 0.01858045336306206, 'mean_word_length': 2.2472858866103738, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5243869', 'n_tokens_mistral': 854, 'n_tokens_neox': 785, 'n_words': 147}