2015-06-01 19:38:29 +02:00
|
|
|
/**
|
2016-05-13 20:41:31 +02:00
|
|
|
* Distraction-Free Writing (wp-fullscreen) backward compatibility stub.
|
2015-06-01 19:38:29 +02:00
|
|
|
*
|
2018-06-28 04:30:15 +02:00
|
|
|
* @deprecated 4.1
|
|
|
|
* @removed 4.3.
|
|
|
|
* @output wp-admin/js/wp-fullscreen-stub.js
|
2015-06-01 19:38:29 +02:00
|
|
|
*/
|
|
|
|
( function() {
|
|
|
|
var noop = function(){};
|
|
|
|
|
|
|
|
window.wp = window.wp || {};
|
|
|
|
window.wp.editor = window.wp.editor || {};
|
|
|
|
window.wp.editor.fullscreen = {
|
|
|
|
bind_resize: noop,
|
|
|
|
dfwWidth: noop,
|
|
|
|
off: noop,
|
|
|
|
on: noop,
|
|
|
|
refreshButtons: noop,
|
|
|
|
resizeTextarea: noop,
|
|
|
|
save: noop,
|
|
|
|
switchmode: noop,
|
|
|
|
toggleUI: noop,
|
|
|
|
|
|
|
|
settings: {},
|
|
|
|
pubsub: {
|
|
|
|
publish: noop,
|
|
|
|
subscribe: noop,
|
|
|
|
unsubscribe: noop,
|
|
|
|
topics: {}
|
|
|
|
},
|
|
|
|
fade: {
|
|
|
|
In: noop,
|
|
|
|
Out: noop
|
|
|
|
},
|
|
|
|
ui: {
|
|
|
|
fade: noop,
|
|
|
|
init: noop
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}());
|