<commit_before>/*
 * JSAV 0.0.01 - JavaScript Algorithm Visualization Library
 *
 * Copyright (c) 2011 <NAME> (http://)
 * Licensed under the MIT license.
 */

/**
* Module that contains the graphical primitive implementations.
* Depends on core.js, anim.js, jQuery, Raphael
*/
(function($, R) {
 if (typeof JSAV === "undefined") { return; }
 var gp = {};

 gp.circle = function(raphael, x, y, r) {
   if (!raphael) { 
     return this; 
   }
   var c = raphael.circle(x, y, r),
      elem = c.node;
  $(elem).data("svgelem", c);
  console.log("svg circle", $(elem), elem);
  return $(elem);
 };
 
 JSAV.ext.circle = function(x, y, r) {
   console.log(this);
   return gp.circle(this.getSvg(), x, y, r);
 };
 
})(jQuery, Raphael);<commit_msg>Removed license. The code is only loaded if Raphael is present.<commit_after>/**
* Module that contains the graphical primitive implementations.
* Depends on core.js, anim.js, jQuery, Raphael
*/
if (typeof Raphael !== "undefined") { // only execute if Raphael is loaded
(function($, R) {
 if (typeof JSAV === "undefined") { return; }
 var gp = {};

 gp.circle = function(raphael, x, y, r) {
   if (!raphael) { 
     return this; 
   }
   var c = raphael.circle(x, y, r),
      elem = c.node;
  $(elem).data("svgelem", c);
  console.log("svg circle", $(elem), elem);
  return $(elem);
 };
 
 JSAV.ext.circle = function(x, y, r) {
   console.log(this);
   return gp.circle(this.getSvg(), x, y, r);
 };
})(jQuery, Raphael);
}
{'fraction_non_alphanumeric': 0.1830601092896175, 'fraction_numerical': 0.00546448087431694, 'mean_word_length': 3.334319526627219, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2082806', 'n_tokens_mistral': 544, 'n_tokens_neox': 506, 'n_words': 153}