Widget.js is failing on:
provide(“util/uri”,function(a){using(“util/querystring”,“util/util”,function(b,c){function d(a){var b;return a.match(/^https?:///)?a:(b=location.host,location.port.length>0&&(b+=":"+location.port),[location.protocol,"//",b,a].join(""))}function e(){var a=document.getElementsByTagName(“link”);for(var b=0,c;c=a[b];b++)if(c.getAttribute(“rel”)==“canonical”)return d(c.getAttribute(“href”));return null}function f(){var a=document.getElementsByTagName(“a”),b=document.getElementsByTagName(“link”),d=/\bme\b/,e=/^https?://(www.)?twitter.com/([a-zA-Z0-9_]+)$/,f=c.array(a).concat(c.array(b)),g,h,i;for(var j=0,k;k=f[j];j++){h=k.getAttribute(“rel”),i=k.getAttribute(“href”);if(h&&i&&h.match(d)&&(g=i.match(e)))return g[2]}}a({absolutize:d,getCanonicalURL:e,getScreenNameFromPage:f})})});
This page is our production page without the error:
I’ve added the latest twitter button to our development servers and I’m getting the above error.