CoreFiles by mySites.guru
wp-fullscreen-stub.js40 lines, 678 bytes, from wordpress-5.2.21.zip
Raw History Compare with 5.2.20
md5
a06bba3593bca1f919fbb48fda7a24cd
sha1
bc0ad1a7dcfb5b0a1980732d6525efd7bfc5e773
sha256
0fb65fe2f805beb88dfd2957843b39b978f95f2b2895ccfdf0208567cecbaec8
/**
 * Distraction-Free Writing (wp-fullscreen) backward compatibility stub.
 *
 * @deprecated 4.1
 * @removed 4.3.
 * @output wp-admin/js/wp-fullscreen-stub.js
 */
( 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
		}
	};
}());

The same content is in 118 releases, WordPress 5.1-beta1 to 5.3.28. See them all, or every version of this file.