1/** 2 * @license 3 * jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz 4 * 5 * Copyright (c) 2012-2013 Mathias Panzenböck 6 * 7 * is released under the MIT License http://www.opensource.org/licenses/mit-license.php 8 * 9 * Spread the word, link to us if you can. 10 */ 11 12// load global settings 13jQuery(document).ready(function ($) { 14 "use strict"; 15 16 $('script[type="application/x-social-share-privacy-settings"]').each(function () { 17 var settings = (new Function('return ('+$.text(this)+');')).call(this); 18 19 if (typeof settings === "object") { 20 $.extend(true, $.fn.socialSharePrivacy.settings, settings); 21 } 22 }); 23}); 24