CoreFiles by mySites.guru
wp-fullscreen-stub.js39 lines, 685 bytes, from wordpress-4.4.21.zip
Raw History Compare with 4.4.20
md5
0cc3913290e7f2383692254f9a03c586
sha1
44c020d9b741b1eb747fcc8431cd3b47b0a76425
sha256
a2bf2054067328147ff2d94d13d83fe889d964ff3beabc24e708684da158b0fd
/**
 * Distraction-Free Writing (wp-fullscreen) backwards 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 126 releases, WordPress 4.3-beta1 to 4.5.33. See them all, or every version of this file.