PDF rausgenommen

This commit is contained in:
aschwarz
2023-01-23 11:03:31 +01:00
parent 82d562a322
commit a6523903eb
28078 changed files with 4247552 additions and 2 deletions

View File

@ -0,0 +1,25 @@
/* exported ampCustomizePreview */
var ampCustomizePreview = ( function( api ) { // eslint-disable-line no-unused-vars
'use strict';
var component = {};
/**
* Boot using data sent inline.
*
* @param {Object} data - PHP exports.
* @param {boolean} data.available - Whether AMP is available.
* @param {boolean} data.enabled - Whether AMP is enabled.
* @return {void}
*/
component.boot = function boot( data ) {
api.bind( 'preview-ready', function() {
api.preview.bind( 'active', function() {
api.preview.send( 'amp-status', data );
} );
} );
};
return component;
}( wp.customize ) );