CoreFiles by mySites.guru
wp-fullscreen-stub.js39 lines, 684 bytes, from wordpress-4.7.21.zip
Raw History Compare with 4.7.20
md5
968528cb325471eb001fd8578a8625e5
sha1
c6babcf562df54b4149cf8d9b2502b6c4ea44a91
sha256
ec7a4ecca1a913fb25ece25d4908f22c7bd80d3b52ac50594448ca93c3073f1c
/**
 * Distraction-Free Writing (wp-fullscreen) backward compatibility stub.
 * Todo: remove at the end of 2016.
 *
 * Original was deprecated in 4.1, removed in 4.3.
 */
( 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 235 releases, WordPress 4.6-beta1 to 5.0.32. See them all, or every version of this file.