]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/plugins/compat3x/plugin.js
WordPress 4.7
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / plugins / compat3x / plugin.js
index 03e864c5332768ca3b9162e3a747085f6b2ab36d..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
@@ -22,7 +22,8 @@
 (function(tinymce) {
        var reported;
 
-       function noop() {}
+       function noop() {
+       }
 
        function log(apiCall) {
                if (!reported && window && window.console) {
                        onAdd: new Dispatcher(),
                        onPostRender: new Dispatcher(),
 
-                       add: function(obj) { return obj; },
+                       add: function(obj) {
+                               return obj;
+                       },
                        createButton: cmNoop,
                        createColorSplitButton: cmNoop,
                        createControl: cmNoop,
                                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;
                }