- My notes
- MLB
- NHL
- NBA
'); handlers.failure (); } Else {removeLfError (); handlers.success (); }}; Update author left function () {$. each function ('. Fyre-how-username ") (() {$ (this) .click (function () {window.location.href = $ (this) .attr (' href ');});}) $ (. "comments writer Fyre ') each function (() {$ (this) .click (function () {window.location.href = $ (this) .attr (' href ');.}); });} UpdateOneLineComments function () {//console.log("Checking Comments "); $ ("Fyre-comment wrapper") Each (function () {if ($ (this) .Find .. (". Fyre-comment"). Css ('display')! = 'None') {var Comment (". Fyre-comment") = $ (this) .Find html () {var if loopCtr = 0 (Comment! = null) ;. // IE8 while ((commentText.indexOf ("
? "Alltxt.replace + (/] *)> [\ s \ S] * / gi, ''); $ (this) .html (alltxt)}}) $ (. 'Fyre comment .fyre-p) each. (function () {var alltxt = $ (this) .html () ;. mentioning Var = $ (this) .Find ('Fyre references.') .html () {if alltxt alltxt.replace = (/] *) > [\ s \ S] * / gi '') ((statement == null)) ;? $ (this) .html (alltxt);}});} Open_profile Function (profile_link_url) {window .open (profile_link_url) ;} $ (document) .ready (function () {// connect to the user when we change //console.log // The DOM re-rendered a sign for them after the connection of things ("LF load == = = Calling "); var fyre.conv.load conv = ({" Red ":" CustomStrings, authDelegate "," chains "cbssports.fyre.co authDelegate lf_config}, function (widget) {//console.log (" = = == LF charge "); widget.on ('initial render complete', function () {LF //console.log("== complete Render ==") $ ('# lf_comments_label') show ();. loggedin = read cookie ('PID'); //CBSi.log(loggedin); if ((typeof loggedin == "string") && (loggedin.match (/ ^ L: /))) {IsLoggedIn = 1; if (typeof userObj.token = 'undefined') {if (userObj.token) {HasProfile = 1 document.cookie = "= lf_social_info has elapsed = 0; path = /"; doLivefyreAuth (userObj);}} changeDOM ();} var loggedSocially = new String (read cookie ('I lf_social_info')); if ((loggedSocially == "| FB |") && (IsLoggedIn == 0)) {IsLoggedIn = 1; HasProfile = 1; callFBApi ();} if ((loggedSocially.indexOf ("| GP |")> = 0) && (IsLoggedIn == 0)) {IsLoggedIn = 1; HasProfile = 1; callGPApi (); } Update Comment Counts (, $ () html () 'Fyre-flow-stats-how include .fyre time "comments bubble' ...); update author left (); setTimeout (function () {}, 2000); change_profile_link (); setTimeout (function () {change_profile_link ()}, 2000);}); widget.on ('userLoggedIn', function () {LF //CBSi.log("== Login Username == "); changeDOM (); removeLfError () to change the format //console.log("Logged comment "); setTimeout (function () {change_profile_link ()}, 2000);}); widget.on ('userLoggedOut', function () {/ /CBSi.log("== User login == LF "), if (document.cookie.indexOf (" | GP | ")> 0) {disconnectGPUser (globalGPaccessToken);} document.cookie =" = lf_social_info has elapsed = 0; path = / "document.cookie =" = lf_login_info has elapsed = 0; path = / "setTimeout (function () {FB.XFBML.parse ();}, 500);}); widget.on (' comment count updated ', function (count data) {LF //CBSi.log("== Comment added == "); Update comment counts (, count data' comments bubble ');. change_profile_link (); setTimeout (function () {change_profile_link ()}, 2000);}); widget.on ('Comment posted', function (count data) {update author left (); change_profile_link (); setTimeout (function () {change_profile_link ()}, 2000);}); }); });
'); // Load Viewer $('.lightboxModalContainer').load('/video/player/lightbox/'+$(this).data('channel')+'/'+$(this).data('pcid'), function () {window.centerLightbox (); $ ('. .closeBtn Light Table ") Click (function () {delete $ () () ;. Clear CBSi.app.VideoPlayer.playerRefs.lightbox' LightboxModalContainer ';.})});.}}) ; $ (window) .Resize (function () {window.centerLightbox ();}); window.centerLightbox = function () {if ($ ('the audience ") in length..) {var links = (( (.) $ (window) .width - $ ('the audience) outer (true)) / 2); , (. 'Lightbox') $ css ("left", the left + "px"); }}; }}); ! ") == -1) && (LoopCtr ',' '); Comment commentText.replace = ("
',' '); LoopCtr ++;} // for other browsers, while ((commentText.indexOf ("! ") == -1) && (LoopCtr ',' '); Comment commentText.replace = ("
',' '); LoopCtr ++;} //console.log(commentText); $ (This) .Find ("Fyre-comment") CSS (.. 'display', 'none'); $ (This). .find (".fyre-how-head") are appended (Comment);} // end vacuum //console.log("Checking check height text} "); cntHeight = $ (this) .Find (". fyre- comment header") height if (cntHeight> 0) {height //console.log("Setting ") (). cntHeight = -1 * ((cntHeight / 2) + 12); $ (This) .Find ("pavilion .fyre-Link") css ('top' cntHeight).}}) ;. change_profile_link} function () {$ ("Fyre .fyre Edit profile list .fyre-box-to-Link") .attr ('href', '#'); $ ("Fyre listbox .fyre .fyre-edit-link profile-a") attr (. '.' "Old"); $ ('List .fyre .fyre box .fyre-edit-profile-Link ".) Click (function () {return false;}); $ (" List box .fyre- .fyre Fyre profile. -edit-Link ') to remove () ;. $ () Attr ("href", "#") "Fyre Username .fyre-how-how-head .fyre."; .. $ ("Fyre .fyre-comment header-comment .fyre username") attr ('Target', '');. $ ("Fyre .fyre-how-how-head .fyre username") attr ('old', '.'); $ ('.. .fyre .fyre-How-how-head .fyre username ") and click (function () {return false;}); $ (' .fyre Fyre how header.") Each function ( () {var alltxt = $ (this) .html () ;. Var nickname = $ (this) .Find () .html () 'Fyre-how username.'; ((Nickname == null) if!) {alltxt = "" + username + '? "Alltxt.replace + (/] *)> [\ s \ S] * / gi, ''); $ (this) .html (alltxt)}}) $ (. 'Fyre comment .fyre-p) each. (function () {var alltxt = $ (this) .html () ;. mentioning Var = $ (this) .Find ('Fyre references.') .html () {if alltxt alltxt.replace = (/] *) > [\ s \ S] * / gi '') ((statement == null)) ;? $ (this) .html (alltxt);}});} Open_profile Function (profile_link_url) {window .open (profile_link_url) ;} $ (document) .ready (function () {// connect to the user when we change //console.log // The DOM re-rendered a sign for them after the connection of things ("LF load == = = Calling "); var fyre.conv.load conv = ({" Red ":" CustomStrings, authDelegate "," chains "cbssports.fyre.co authDelegate lf_config}, function (widget) {//console.log (" = = == LF charge "); widget.on ('initial render complete', function () {LF //console.log("== complete Render ==") $ ('# lf_comments_label') show ();. loggedin = read cookie ('PID'); //CBSi.log(loggedin); if ((typeof loggedin == "string") && (loggedin.match (/ ^ L: /))) {IsLoggedIn = 1; if (typeof userObj.token = 'undefined') {if (userObj.token) {HasProfile = 1 document.cookie = "= lf_social_info has elapsed = 0; path = /"; doLivefyreAuth (userObj);}} changeDOM ();} var loggedSocially = new String (read cookie ('I lf_social_info')); if ((loggedSocially == "| FB |") && (IsLoggedIn == 0)) {IsLoggedIn = 1; HasProfile = 1; callFBApi ();} if ((loggedSocially.indexOf ("| GP |")> = 0) && (IsLoggedIn == 0)) {IsLoggedIn = 1; HasProfile = 1; callGPApi (); } Update Comment Counts (, $ () html () 'Fyre-flow-stats-how include .fyre time "comments bubble' ...); update author left (); setTimeout (function () {}, 2000); change_profile_link (); setTimeout (function () {change_profile_link ()}, 2000);}); widget.on ('userLoggedIn', function () {LF //CBSi.log("== Login Username == "); changeDOM (); removeLfError () to change the format //console.log("Logged comment "); setTimeout (function () {change_profile_link ()}, 2000);}); widget.on ('userLoggedOut', function () {/ /CBSi.log("== User login == LF "), if (document.cookie.indexOf (" | GP | ")> 0) {disconnectGPUser (globalGPaccessToken);} document.cookie =" = lf_social_info has elapsed = 0; path = / "document.cookie =" = lf_login_info has elapsed = 0; path = / "setTimeout (function () {FB.XFBML.parse ();}, 500);}); widget.on (' comment count updated ', function (count data) {LF //CBSi.log("== Comment added == "); Update comment counts (, count data' comments bubble ');. change_profile_link (); setTimeout (function () {change_profile_link ()}, 2000);}); widget.on ('Comment posted', function (count data) {update author left (); change_profile_link (); setTimeout (function () {change_profile_link ()}, 2000);}); }); });
0 comments:
Post a Comment