annotate bns_website/templates/core/social_sharing_begin.html @ 62:93e9e7b3d2ae

Put in an import dance for Python 2.5. Apparently cgi.parse_qs was copied to urlparse in Python 2.6. So look for it first in urlparse, and if not found, try cgi.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Nov 2011 14:47:17 -0600
parents 55e1d68da925
children
rev   line source
bgneal@12 1 <div id="fb-root"></div>
bgneal@12 2 <script type="text/javascript">(function(d, s, id) {
bgneal@12 3 var js, fjs = d.getElementsByTagName(s)[0];
bgneal@12 4 if (d.getElementById(id)) {return;}
bgneal@12 5 js = d.createElement(s); js.id = id; js.async = true;
bgneal@12 6 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
bgneal@12 7 fjs.parentNode.insertBefore(js, fjs);
bgneal@12 8 }(document, 'script', 'facebook-jssdk'));</script>