<commit_before>/**
 * Script that adds button with contact form shortcode into WordPress TinyMCE editor.
 *
 * @since 0.1
 * @link https://github.com/ondrejd/odwp-donkycz-plugin
 */
(function() {
   tinymce.create('tinymce.plugins.contactform', {
      init : function(ed, url) {
         ed.addButton('contactform', {
            // TODO Translate this!
            title : 'Contact form',
            // TODO image : url + '/contactformbutton.png',
            onclick : function() {
               ed.execCommand('mceInsertContent', false, '[contact-form]');
            }
         });
      },
      createControl : function(n, cm) {
         return null;
      },
      getInfo : function() {
         // TODO Translate this!
         return {
            longname : 'Contact Form',
            author : '<NAME>',
            authorurl : 'http://ondrejd.info/',
            infourl : 'https://github.com/ondrejd/odwp-donkycz-plugin',
            version : '1.0'
         };
      }
   });
   tinymce.PluginManager.add('contactform', tinymce.plugins.contactform);
})();<commit_msg>Fixed intendation.<commit_after>/**
 * Script that adds button with contact form shortcode into WordPress TinyMCE editor.
 *
 * @since 0.1
 * @link https://github.com/ondrejd/odwp-donkycz-plugin
 */
(function() {
	tinymce.create('tinymce.plugins.contactform', {
		init : function(editor, url) {
			editor.addButton('contactform', {
				// TODO Translate this!
				title : 'Contact form',
				// TODO image : url + '/contactformbutton.png',
				onclick : function() {
					editor.execCommand('mceInsertContent', false, '[contact-form]');
				}
			});
		},
		createControl : function(n, cm) {
			return null;
		},
		getInfo : function() {
			// TODO Translate this!
			return {
				longname : 'Contact Form',
				author : '<NAME>',
				authorurl : 'http://ondrejd.info/',
				infourl : 'https://github.com/ondrejd/odwp-donkycz-plugin',
				version : '1.0'
			};
		}
	});
	tinymce.PluginManager.add('contactform', tinymce.plugins.contactform);
})();
{'fraction_non_alphanumeric': 0.15608074839980304, 'fraction_numerical': 0.003938946331856229, 'mean_word_length': 2.3810316139767056, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '2095521', 'n_tokens_mistral': 690, 'n_tokens_neox': 632, 'n_words': 125}