<commit_before>angular.module('tx-tinymce',[])
       .directive('txTinymce',[function(){

  var count = 0;
  return {
    restrict: "AC",
    require: "ngModel",
    scope: false,
    link: function(scope,element,attrs,ngModel) {
      var tinymce;
      if (!attrs.id) {
        attrs.$set('id','tx-tinymce-'+count++);
      } else {
        //do we have real jQuery? or querySelector
        var focus = function(){
          if (tinymce) {
          }
        };
        if (window.jQuery) {
          jQuery('label[for='+attrs.id+']')
        }
      }



      var init = function(config){
        config = angular.extend(config || {},{
          selector: '#'+attrs.id,
          setup: function(ed) {
            tinymce = ed;
            console.log(tinymce)
            window['focus'+attrs.id] = function(){<commit_msg>Removed console.log<commit_after>angular.module('tx-tinymce',[])
       .directive('txTinymce',[function(){

  var count = 0;
  return {
    restrict: "AC",
    require: "ngModel",
    scope: false,
    link: function(scope,element,attrs,ngModel) {
      var tinymce;
      if (!attrs.id) {
        attrs.$set('id','tx-tinymce-'+count++);
      } else {
        //do we have real jQuery? or querySelector
        var focus = function(){
          if (tinymce) {
          }
        };
        if (window.jQuery) {
          jQuery('label[for='+attrs.id+']')
        }
      }



      var init = function(config){
        config = angular.extend(config || {},{
          selector: '#'+attrs.id,
          setup: function(ed) {
            tinymce = ed;
            window['focus'+attrs.id] = function(){
{'fraction_non_alphanumeric': 0.16289038579301898, 'fraction_numerical': 0.001224739742804654, 'mean_word_length': 1.9126559714795008, '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': '710347', 'n_tokens_mistral': 524, 'n_tokens_neox': 508, 'n_words': 97}