It was a closely watched 44-day campaign that concluded Saturday night in dramatic fashion, with Doug Ford edging out Christine Elliott to become the new leader of the PC Party of Ontario. Shallima Maharaj takes us through the long night that was.
‘
});
} else {
var rel_id = svp.releaseInfo.contentId+””;
if( typeof gnca_social_share_collection[rel_id] != “object” ) {
var resp = jQuery.parseJSON( jQuery.ajax({
url: “/gnca-ajax/videoshare-links/{“id”:”” + svp.releaseInfo.contentId + “”}/”,
async: false
}).responseText);
gnca_social_share_collection[rel_id] = resp;
}
jQuery(‘#videoContainer’).gnca_socialVideoShare(‘init’, gnca_social_share_collection[rel_id] );
}
};
// don’t do on IE, doesn’t work yet
if ( !gNews.Common.isIE && !gNews.Common.isTrident && gNews.Common.isFlash ) {
var gnca_videoShareCallbackInterval = window.setInterval(
function() {
//console.log(‘ !!! gnca_shareVideoCallback REGISTRATION !!! ‘);
// exit if required obj isn’t set yet
try {
if ( !svp || !svp.setShareFunction || !svp.flashPlayerObjectId )
return;
// still here?? svp object must exist, register share-button callback
svp.setShareFunction( gnca_videoShareCallback);
// remove interval
window.clearInterval( gnca_videoShareCallbackInterval );
gnca_videoShareCallbackInterval = false;
} catch (e) {};
},
1000
);
};
Powered by WPeMatico