- Timestamp:
- 01/02/2014 01:06:58 AM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/compat3x/plugin.js
r26876 r26890 32 32 target = target || this; 33 33 34 if ( ! newEventName ) { 35 this.add = this.addToTop = this.remove = this.dispatch = function(){}; 36 return; 37 } 38 34 39 this.add = function(callback, scope) { 35 40 log('<target>.on' + newEventName + ".add(..)"); … … 86 91 } 87 92 93 tinymce.util.Dispatcher = Dispatcher; 88 94 tinymce.onBeforeUnload = new Dispatcher(tinymce, "BeforeUnload"); 89 95 tinymce.onAddEditor = new Dispatcher(tinymce, "AddEditor", "editor"); 90 96 tinymce.onRemoveEditor = new Dispatcher(tinymce, "RemoveEditor", "editor"); 97 98 function noop(){} 99 100 tinymce.util.Cookie = { 101 get: noop, getHash: noop, remove: noop, set: noop, setHash: noop 102 }; 91 103 92 104 function patchEditor(editor) { … … 133 145 this.buttons[name].active(state); 134 146 } 135 } ,147 } 136 148 }; 137 149 … … 194 206 selection.onBeforeSetContent = new Dispatcher(editor, "BeforeSetContent", filterSelectionEvents(true), selection); 195 207 selection.onSetContent = new Dispatcher(editor, "SetContent", filterSelectionEvents(true), selection); 196 197 editor.windowManager.createInstance = function(className, a, b, c, d, e) { 208 }); 209 210 editor.on('BeforeRenderUI', function() { 211 var windowManager = editor.windowManager; 212 213 windowManager.onOpen = new Dispatcher(); 214 windowManager.onClose = new Dispatcher(); 215 windowManager.createInstance = function(className, a, b, c, d, e) { 198 216 log("windowManager.createInstance(..)"); 199 217 -
trunk/src/wp-includes/version.php
r26877 r26890 19 19 * @global string $tinymce_version 20 20 */ 21 $tinymce_version = '4012-201 31228';21 $tinymce_version = '4012-20140101'; 22 22 23 23 /**
Note: See TracChangeset
for help on using the changeset viewer.