/**
* 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
(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;
}