<commit_before>if(!Draw.textAlign) {
  Draw.textAlign = function(newAlign) {
    if(!Canvas.configured) {
      console.warn("KAPhy Warning - You must use Canvas.configure(); before you can draw!");
      return;
    }
    
    if(arguments.length !== 1) {
      console.warn("KAPhy Warning - Draw.textAlign() takes 1 argument.");
    }
    
    Canvas.context.textAlign = newAlign;
  };
}<commit_msg>Update textalign.js<commit_after>if(!Draw.textAlign) {
  Draw.textAlign = function(newAlign, yAlign) {
    if(!Canvas.configured) {
      console.warn("KAPhy Warning - You must use Canvas.configure(); before you can draw!");
      return;
    }
    
    if(arguments.length > 2) {
      console.warn("KAPhy Warning - Draw.textAlign() takes 0 - 2 arguments.");
    }
    
    Canvas.context.textAlign = newAlign || "left";
    if(yAlign) Canvas.context.textBaseline = yAlign;
  };
}
{'fraction_non_alphanumeric': 0.14399092970521543, 'fraction_numerical': 0.005668934240362812, 'mean_word_length': 2.9596412556053813, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3595723', 'n_tokens_mistral': 293, 'n_tokens_neox': 279, 'n_words': 57}