]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/plugins/compat3x/plugin.js
WordPress 4.5-scripts
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / plugins / compat3x / plugin.js
index cc6e32290606e0414c234e72bb75747695d8e3ab..c39ebd3116fb00d4422d74b451cfe4182e837ff0 100644 (file)
@@ -1,8 +1,8 @@
 /**
  * plugin.js
  *
- * Copyright, Moxiecode Systems AB
  * Released under LGPL License.
+ * Copyright (c) 1999-2015 Ephox Corp. All rights reserved
  *
  * License: http://www.tinymce.com/license
  * Contributing: http://www.tinymce.com/contributing
                                settings.onPostRender = patchedPostRender;
                        }
 
-                       if ( settings.title ) {
+                       if (settings.title) {
                                // WP
                                string = (editor.settings.language || "en") + "." + settings.title;
                                translated = tinymce.i18n.translate(string);
        tinymce.addI18n = function(prefix, o) {
                var I18n = tinymce.util.I18n, each = tinymce.each;
 
-               if (typeof(prefix) == "string" && prefix.indexOf('.') === -1) {
+               if (typeof prefix == "string" && prefix.indexOf('.') === -1) {
                        I18n.add(prefix, o);
                        return;
                }