Skip to content
Snippets Groups Projects
Select Git revision
  • 6b724c8fce31d5e70eae4eacc1a7d32b3e73b6a7
  • noblogs default
  • noblogs-5.7.1
  • upstream
  • noblogs-5.7
  • noblogs-5.6new
  • upstream5.5.1
  • noblogs28dic
  • upstream28dic
  • noblogs-5.5.1
  • noblogs-5.4.2
  • noblogs-5.4_seconda
  • noblogs-5.4
  • noblogs-7c
  • wp5.2.3p3
  • mergedbconf
  • noblogs-5.7.1
  • noblogs.5.7.0p1
  • noblogs-5.7.0
  • noblogs-5.6p3
  • noblogs5.6p2
  • noblogs-5.6p1
  • noblogs-5.6
  • noblogs-5.4.2p1
  • noblogs-5.4.2
  • noblogs-5.4.1
  • noblogs-5.4
  • noblogs-p5.4
  • noblogs-5.3.2p2
  • noblogs-5.3.2p1
  • noblogs-5.3.2
  • noblogs-5.3
  • noblogs-5.2.3p4
  • noblogs-5.2.3p3
  • noblogs-5.2.3p2
  • noblogs-5.2.3p1
36 results

wp-fullscreen-stub.js

Blame
  • wp-fullscreen-stub.js 684 B
    /**
     * 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
    		}
    	};
    }());