summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:32:30 -0500
committerAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:32:30 -0500
commit10ef81bf85ad0a4bad0d204838e14c99ca2526f7 (patch)
treeb4bb36a326d41de12d1a6181d2a2baf34696ac24 /plugins/jetpack/_inc/build/polldaddy-shortcode.min.js
parentUpdating script for Update (diff)
downloadblogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.gz
blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.bz2
blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.zip
Update jetpack 8.0
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/jetpack/_inc/build/polldaddy-shortcode.min.js')
-rw-r--r--plugins/jetpack/_inc/build/polldaddy-shortcode.min.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/jetpack/_inc/build/polldaddy-shortcode.min.js b/plugins/jetpack/_inc/build/polldaddy-shortcode.min.js
new file mode 100644
index 00000000..8ca62741
--- /dev/null
+++ b/plugins/jetpack/_inc/build/polldaddy-shortcode.min.js
@@ -0,0 +1,2 @@
+/* Do not modify this file directly. It is compiled from other files. */
+!function(t){window.polldaddyshortcode={render:function(){var e=t("div.pd-rating[data-settings]"),d=t("div.PDS_Poll[data-settings]");if(d&&t.each(d,function(){var e=t(this).data("settings");if(e){var d=document.createElement("a");if(d.href=e.url,"secure.polldaddy.com"!=d.hostname&&"static.polldaddy.com"!=d.hostname)return!1;var i=d.pathname;if(!/\/?p\/\d+\.js/.test(i))return!1;var a=document.createElement("script");a.type="text/javascript",a.src=e.url,a.charset="utf-8",a.async=!0,document.getElementsByTagName("head")[0].appendChild(a)}}),e){var i="";t.each(e,function(){var e=t(this).data("settings");e&&(i+="PDRTJS_settings_"+e.id+e.item_id+"="+e.settings+"; if ( typeof PDRTJS_RATING !== 'undefined' ){ if ( typeof PDRTJS_"+e.id+e.item_id+"=='undefined' ){PDRTJS_"+e.id+e.item_id+"= new PDRTJS_RATING( PDRTJS_settings_"+e.id+e.item_id+" );}}")}),i.length>0&&t("#polldaddyRatings").after("<script type='text/javascript' charset='utf-8' id='polldaddyDynamicRatings'>"+i+"<\/script>")}}},t("body").on("post-load pd-script-load",function(){window.polldaddyshortcode.render()}),t("body").trigger("pd-script-load")}(jQuery); \ No newline at end of file