From 690d5926627a0109d2c8f47f0b28c7e0174b517a Mon Sep 17 00:00:00 2001 From: Ronald Huereca Date: Wed, 18 Dec 2024 11:38:15 -0600 Subject: [PATCH] Getting rid of console statement. --- build/dlx-pw-preview.asset.php | 2 +- build/dlx-pw-preview.js | 2 +- src/js/blocks/plugins/pattern-preview.js | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build/dlx-pw-preview.asset.php b/build/dlx-pw-preview.asset.php index a72ec67..9c35422 100644 --- a/build/dlx-pw-preview.asset.php +++ b/build/dlx-pw-preview.asset.php @@ -1 +1 @@ - array('wp-data', 'wp-editor', 'wp-i18n', 'wp-plugins'), 'version' => '7b290f09beaf54ea94a4'); + array('wp-data', 'wp-editor', 'wp-i18n', 'wp-plugins'), 'version' => '9b6d4a720612ffcb16cd'); diff --git a/build/dlx-pw-preview.js b/build/dlx-pw-preview.js index 894865a..e343629 100644 --- a/build/dlx-pw-preview.js +++ b/build/dlx-pw-preview.js @@ -1 +1 @@ -(()=>{"use strict";var e={656:e=>{e.exports=window.wp.editor}},r={};const n=window.wp.i18n,t=window.wp.plugins;var i;window.wp.data;try{var a=function n(t){var i=r[t];if(void 0!==i)return i.exports;var a=r[t]={exports:{}};return e[t](a,a.exports,n),a.exports}(656).PluginPreviewMenuItem;i=a}catch(e){}console.log(i),i&&(0,t.registerPlugin)("dlx-pattern-wrangler-preview-button",{render:function(){return i?React.createElement(i,{icon:"external",label:(0,n.__)("Preview Pattern","pattern-wrangler"),onClick:function(){window.open(dlxPatternWranglerPreview.previewUrl,"_blank")}},(0,n.__)("Preview Pattern","pattern-wrangler")):null}})})(); \ No newline at end of file +(()=>{"use strict";var e={656:e=>{e.exports=window.wp.editor}},r={};const n=window.wp.i18n,t=window.wp.plugins;var i;window.wp.data;try{var a=function n(t){var i=r[t];if(void 0!==i)return i.exports;var a=r[t]={exports:{}};return e[t](a,a.exports,n),a.exports}(656).PluginPreviewMenuItem;i=a}catch(e){}i&&(0,t.registerPlugin)("dlx-pattern-wrangler-preview-button",{render:function(){return i?React.createElement(i,{icon:"external",label:(0,n.__)("Preview Pattern","pattern-wrangler"),onClick:function(){window.open(dlxPatternWranglerPreview.previewUrl,"_blank")}},(0,n.__)("Preview Pattern","pattern-wrangler")):null}})})(); \ No newline at end of file diff --git a/src/js/blocks/plugins/pattern-preview.js b/src/js/blocks/plugins/pattern-preview.js index 56ca205..c27d2f7 100644 --- a/src/js/blocks/plugins/pattern-preview.js +++ b/src/js/blocks/plugins/pattern-preview.js @@ -11,8 +11,6 @@ try { // ActionItem not available } -console.log( PluginPreviewMenuItem ); - /** * Render a Preview Button. *