diff options
Diffstat (limited to 'plugins/jetpack/_inc/build/polldaddy-shortcode.min.js')
-rw-r--r-- | plugins/jetpack/_inc/build/polldaddy-shortcode.min.js | 2 |
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 |