[]Tyler James, a friend to the late singer Amy Winehouse recently opened up about her passing from alcohol poisoning, her fame and much more.
Written By Pinkvilla Desk 46778 reads Mumbai Updated: June 14, 2021 02:26 pm Amy Winehouse’s pal Tyler James looks back at days leading up to her passing; Compares her fame to ‘cancer’ []Content Warning: This article includes references to substance abuse.
[]
[]Singer and songwriter Tyler James recently looked back at his close friendship with the late star Amy Winehouse. Looking at the 10th anniversary of Amy‘s death in July, Tyler spoke to the Sunday Times and got candid about the singer. Tyler revealed that just days before Amy’s passing from alcohol poisoning, he decided to leave the flat they lived in together in the hopes she’d stop her drinking. “I was running out of ideas,” Tyler said, adding, “Amy was my world. I never have had that connection with someone again and I never will. I loved her. I was on a mission. I had a task. I had a job [to make her well] and that’s all I wanted to do.”
[]
[]Tyler also said that the Back to Black singer worked extremely to get sober, but that it was difficult “to go through that in front of people.” He compared Amy to Britney Spears and Princess Diana, detailing the ways in which she was “hounded” by the media.
[]
[]“People think they know Amy‘s story, and obviously she can’t tell her story. But I wanted to tell what it was like for her, having to actually live in that world,” he explained. “With that level of fame, that level of intrusion, that lack of privacy. I don’t think people really realize the effect that has on a person. She craved normality. The biggest thing that f–ked Amy up was being famous.”
[]
[]Tyler added that privately the performer would describe fame as a “cancer” and that eventually, she became mistrustful of those around her. “I was the only friend she had left by then, the only person around her all the time who wasn’t paid to be around her,” he shared.
{ isDown = true; slider.classList.add(“active”); startX = e.pageX – slider.offsetLeft; scrollLeft = slider.scrollLeft; }); slider.addEventListener(“mouseleave”, () => { isDown = false; slider.classList.remove(“active”); }); slider.addEventListener(“mouseup”, () => { isDown = false; slider.classList.remove(“active”); }); slider.addEventListener(“mousemove”, e => { if (!isDown) return; e.preventDefault(); const x = e.pageX – slider.offsetLeft; const walk = x – startX; slider.scrollLeft = scrollLeft – walk; }); const left = document.querySelector(“.youtube-wizard .left-scroll”); const right = document.querySelector(“.youtube-wizard .right-scroll”); left.addEventListener(“click”, e => { e.stopPropagation(); slider.scrollLeft = slider.scrollLeft – 1000; }); right.addEventListener(“click”, e => { e.stopPropagation(); slider.scrollLeft = slider.scrollLeft + 1000; }); ]]> <![CDATA[ (function(f){var d,e,p=function(){d=(new (window.UAParser||exports.UAParser)).getResult();e=new Detector;return this};p.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return d},getFingerprint:function(){var b=d.ua,c=this.getScreenPrint(),a=this.getPlugins(),g=this.getFonts(),n=this.isLocalStorage(),f=this.isSessionStorage(),h=this.getTimeZone(),u=this.getLanguage(),m=this.getSystemLanguage(),e=this.isCookie(),C=this.getCanvasPrint();return murmurhash3_32_gc(b+"|"+ c+"|"+a+"|"+g+"|"+n+"|"+f+"|"+h+"|"+u+"|"+m+"|"+e+"|"+C,256)},getCustomFingerprint:function(){for(var b="",c=0;cn"+c+"n")},versionCheck:function(a){var g=0,b=a.match("^(\d+)(?:\.(\d+)(?:\.(\d+)(?:_(\d+))?)?)?(\*|\+)?$");if(null!=b){for(var c=a=!1,h=[],d=1;dh.length&&(c=!1,a=!0);g=this.getJREs();for(d=0;d<g.length;++d)if(this.compareVersionToPattern(g[d],h,a,c))return!0}else g="Invalid versionPattern passed to versionCheck: "+a,f("[versionCheck()] "+g),alert(g);return!1},isWebStartInstalled:function(a){if("?"==this.getBrowser())return!0;if("undefined"==a||null==a)a="1.4.2";var b=!1;null!=a.match("^(\d+)(?:\.(\d+)(?:\.(\d+)(?:_(\d+))?)?)?$")?b=this.versionCheck(a+"+"):(f("[isWebStartInstaller()] Invalid minimumVersion argument to isWebStartInstalled(): "+ a),b=this.versionCheck("1.4.2+"));return b},getJPIVersionUsingMimeType:function(){for(var a=0;a<navigator.mimeTypes.length;++a){var b=navigator.mimeTypes[a].type.match(/^application/x-java-applet;jpi-version=(.*)$/);if(null!=b&&(this.firefoxJavaVersion=b[1],"Opera"!=this.browserName2))break}},launchWebStartApplication:function(a){navigator.userAgent.toLowerCase();this.getJPIVersionUsingMimeType();if(0==this.isWebStartInstalled("1.7.0")&&(0==this.installJRE("1.7.0+")||0==this.isWebStartInstalled("1.7.0")))return!1; var b=null;document.documentURI&&(b=document.documentURI);null==b&&(b=document.URL);var c=this.getBrowser(),d;"MSIE"==c?d='':"Netscape Family"==c&&(d='');"undefined"==document.body||null==document.body? (document.write(d),document.location=b):(a=document.createElement("div"),a.id="div1",a.style.position="relative",a.style.left="-10000px",a.style.margin="0px auto",a.className="dynamicDiv",a.innerHTML=d,document.body.appendChild(a))},createWebStartLaunchButtonEx:function(a,b){null==this.returnPage&&(this.returnPage=a);document.write('‘)}, createWebStartLaunchButton:function(a,b){null==this.returnPage&&(this.returnPage=a);document.write(”)},launch:function(a){document.location=a;return!0},isPluginInstalled:function(){var a= this.getPlugin();return a&&a.jvms?!0:!1},isAutoUpdateEnabled:function(){return this.isPluginInstalled()?this.getPlugin().isAutoUpdateEnabled():!1},setAutoUpdateEnabled:function(){return this.isPluginInstalled()?this.getPlugin().setAutoUpdateEnabled():!1},setInstallerType:function(a){this.installType=a;return this.isPluginInstalled()?this.getPlugin().setInstallerType(a):!1},setAdditionalPackages:function(a){return this.isPluginInstalled()?this.getPlugin().setAdditionalPackages(a):!1},setEarlyAccess:function(a){this.EAInstallEnabled= a},isPlugin2:function(){if(this.isPluginInstalled()&&this.versionCheck(“1.6.0_10+”))try{return this.getPlugin().isPlugin2()}catch(a){}return!1},allowPlugin:function(){this.getBrowser();return”Safari”!=this.browserName2&&”Opera”!=this.browserName2},getPlugin:function(){this.refresh();var a=null;this.allowPlugin()&&(a=document.getElementById(“deployJavaPlugin”));return a},compareVersionToPattern:function(a,b,c,d){if(void 0==a||void 0==b)return!1;var h=a.match(“^(\d+)(?:\.(\d+)(?:\.(\d+)(?:_(\d+))?)?)?$”); if(null!=h){var f=0;a=[];for(var m=1;m<h.length;++m)"string"==typeof h[m]&&""!=h[m]&&(a[f]=h[m],f++);h=Math.min(a.length,b.length);if(d){for(m=0;m<h;++m){if(a[m]b[m])break}return!0}for(m=0;m “+a);-1!=a.indexOf(“msie”)&&-1==a.indexOf(“opera”)?this.browserName2=this.browserName= “MSIE”:-1!=a.indexOf(“iphone”)?(this.browserName=”Netscape Family”,this.browserName2=”iPhone”):-1!=a.indexOf(“firefox”)&&-1==a.indexOf(“opera”)?(this.browserName=”Netscape Family”,this.browserName2=”Firefox”):-1!=a.indexOf(“chrome”)?(this.browserName=”Netscape Family”,this.browserName2=”Chrome”):-1!=a.indexOf(“safari”)?(this.browserName=”Netscape Family”,this.browserName2=”Safari”):-1!=a.indexOf(“mozilla”)&&-1==a.indexOf(“opera”)?(this.browserName=”Netscape Family”,this.browserName2=”Other”):-1!= a.indexOf(“opera”)?(this.browserName=”Netscape Family”,this.browserName2=”Opera”):(this.browserName=”?”,this.browserName2=”unknown”);f(“[getBrowser()] Detected browser name:”+this.browserName+”, “+this.browserName2)}return this.browserName},testUsingActiveX:function(a){a=”JavaWebStart.isInstalled.”+a+”.0″;if(“undefined”==typeof ActiveXObject||!ActiveXObject)return f(“[testUsingActiveX()] Browser claims to be IE, but no ActiveXObject object?”),!1;try{return null!=new ActiveXObject(a)}catch(b){return!1}}, testForMSVM:function(){if(“undefined”!=typeof oClientCaps){var a=oClientCaps.getComponentVersion(“{08B0E5C0-4FCB-11CF-AAA5-00401C608500}”,”ComponentID”);return””==a||”5,0,5000,0″==a?!1:!0}return!1},testUsingMimeTypes:function(a){if(!navigator.mimeTypes)return f(“[testUsingMimeTypes()] Browser claims to be Netscape family, but no mimeTypes[] array?”),!1;for(var b=0;b<navigator.mimeTypes.length;++b){s=navigator.mimeTypes[b].type;var c=s.match(/^application/x-java-appletx3Bversion=(1.8|1.7|1.6|1.5|1.4.2)$/); if(null!=c&&this.compareVersions(c[1],a))return!0}return!1},testUsingPluginsArray:function(a){if(!navigator.plugins||!navigator.plugins.length)return!1;for(var b=navigator.platform.toLowerCase(),c=0;c<navigator.plugins.length;++c)if(s=navigator.plugins[c].description,-1!=s.search(/^Java Switchable Plug-in (Cocoa)/)){if(this.compareVersions("1.5.0",a))return!0}else if(-1!=s.search(/^Java/)&&-1!=b.indexOf("win")&&(this.compareVersions("1.5.0",a)||this.compareVersions("1.6.0",a)))return!0;return this.compareVersions("1.5.0", a)?!0:!1},IEInstall:function(){location.href=d((null!=this.returnPage?"&returnPage="+this.returnPage:"")+(null!=this.locale?"&locale="+this.locale:"")+(null!=this.brand?"&brand="+this.brand:""));return!1},done:function(a,b){},FFInstall:function(){location.href=d((null!=this.returnPage?"&returnPage="+this.returnPage:"")+(null!=this.locale?"&locale="+this.locale:"")+(null!=this.brand?"&brand="+this.brand:"")+(null!=this.installType?"&type="+this.installType:""));return!1},compareVersions:function(a, b){for(var c=a.split("."),d=b.split("."),h=0;h<c.length;++h)c[h]=Number(c[h]);for(h=0;hd[0]?!0:c[0]d[1]?!0:c[1]d[2]?!0:c[2]<d[2]?!1:!0},enableAlerts:function(){this.browserName=null;this.debug=!0},poll:function(){this.refresh();var a=this.getJREs();0==this.preInstallJREList.length&&0!=a.length&&(clearInterval(this.myInterval),null!=this.returnPage&&(location.href=this.returnPage));0!=this.preInstallJREList.length&& 0!=a.length&&this.preInstallJREList[0]!=a[0]&&(clearInterval(this.myInterval),null!=this.returnPage&&(location.href=this.returnPage))},writePluginTag:function(){var a=this.getBrowser();"MSIE"==a?document.write(''):"Netscape Family"==a&&this.allowPlugin()&&this.writeEmbedTag()},refresh:function(){navigator.plugins.refresh(!1);"Netscape Family"==this.getBrowser()&&this.allowPlugin()&&null== document.getElementById("deployJavaPlugin")&&this.writeEmbedTag()},writeEmbedTag:function(){var a=!1;if(null!=navigator.mimeTypes){for(var b=0;b<navigator.mimeTypes.length;b++)navigator.mimeTypes[b].type==this.mimeType&&navigator.mimeTypes[b].enabledPlugin&&(document.write(''),a=!0);if(!a)for(b=0;b<navigator.mimeTypes.length;b++)navigator.mimeTypes[b].type==this.oldMimeType&&navigator.mimeTypes[b].enabledPlugin&&document.write('')}}};c.writePluginTag();if(null==c.locale){e=null;if(null==e)try{e=navigator.userLanguage}catch(a){}if(null==e)try{e=navigator.systemLanguage}catch(a){}if(null==e)try{e=navigator.language}catch(a){}null!=e&&(e.replace("-","_"),c.locale=e)}return c}();var Detector=function(){var f=["monospace","sans-serif","serif"],d=document.getElementsByTagName("body")[0],e=document.createElement("span");e.style.fontSize="72px";e.innerHTML="mmmmmmmmmmlli";var p={},b={},c;for(c in f)e.style.fontFamily=f[c],d.appendChild(e),p[f[c]]=e.offsetWidth,b[f[c]]=e.offsetHeight,d.removeChild(e);this.detect=function(a){var c=!1,n;for(n in f){e.style.fontFamily=a+","+f[n];d.appendChild(e);var v=e.offsetWidth!=p[f[n]]||e.offsetHeight!=b[f[n]];d.removeChild(e);c=c||v}return c}};function murmurhash3_32_gc(f,d){var e,p,b,c,a;e=f.length&3;p=f.length-e;b=d;for(a=0;a<p;)c=f.charCodeAt(a)&255|(f.charCodeAt(++a)&255)<<8|(f.charCodeAt(++a)&255)<>16)&65535)<>17,c=461845907*(c&65535)+((461845907*(c>>>16)&65535)<>19,b=5*(b&65535)+((5*(b>>>16)&65535)>>16)+58964&65535)<<16);c=0;switch(e){case 3:c^=(f.charCodeAt(a+ 2)&255)<>16)&65535)<>17,b^=461845907*(c&65535)+((461845907*(c>>>16)&65535)>>16;b=2246822507*(b&65535)+((2246822507*(b>>>16)&65535)>>13;b=3266489909*(b&65535)+((3266489909*(b>>>16)&65535)>>16)>>>0};var swfobject=function(){function f(){if(!y){try{var a=l.getElementsByTagName(“body”)[0].appendChild(l.createElement(“span”));a.parentNode.removeChild(a)}catch(b){return}y=!0;for(var a=F.length,c=0;cg){g++;setTimeout(arguments.callee,10);return}a.removeChild(c);d=null;b()})()}else b()} function b(){var b=x.length;if(0<b)for(var z=0;zparseInt(a.width,10))a.width=”310″;if(“undefined”==typeof a.height||!/%$/.test(a.height)&&137>parseInt(a.height,10))a.height=”137″;l.title=l.title.slice(0,47)+” – Flash Player Installation”;d=k.ie&&k.win?”ActiveX”:”PlugIn”;d=”MMredirectURL=”+r.location.toString().replace(/&/g,”%26″)+”&MMplayerType=”+ d+”&MMdoctitle=”+l.title;b.flashvars=”undefined”!=typeof b.flashvars?b.flashvars+(“&”+d):d;k.ie&&k.win&&4!=g.readyState&&(d=l.createElement(“div”),c+=”SWFObjectNew”,d.setAttribute(“id”,c),g.parentNode.insertBefore(d,g),g.style.display=”none”,function(){4==g.readyState?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}());h(a,b,c)}}function n(a){if(k.ie&&k.win&&4!=a.readyState){var b=l.createElement(“div”);a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(v(a),b);a.style.display=”none”; (function(){4==a.readyState?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(v(a),a)}function v(a){var b=l.createElement(“div”);if(k.win&&k.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(“object”)[0])if(a=a.childNodes)for(var c=a.length,d=0;dk.wk)return d;if(g)if(“undefined”==typeof a.id&& (a.id=c),k.ie&&k.win){var h=””,f;for(f in a)a[f]!=Object.prototype[f]&&(“data”==f.toLowerCase()?b.movie=a[f]:”styleclass”==f.toLowerCase()?h+=’ class=”‘+a[f]+'”‘:”classid”!=f.toLowerCase()&&(h+=” “+f+’=”‘+a[f]+'”‘));f=””;for(var e in b)b[e]!=Object.prototype[e]&&(f+=”);g.outerHTML='”+f+””;I[I.length]=a.id;d=m(a.id)}else{e=l.createElement(“object”);e.setAttribute(“type”,”application/x-shockwave-flash”); for(var q in a)a[q]!=Object.prototype[q]&&(“styleclass”==q.toLowerCase()?e.setAttribute(“class”,a[q]):”classid”!=q.toLowerCase()&&e.setAttribute(q,a[q]));for(h in b)b[h]!=Object.prototype[h]&&”movie”!=h.toLowerCase()&&(a=e,f=h,q=b[h],c=l.createElement(“param”),c.setAttribute(“name”,f),c.setAttribute(“value”,q),a.appendChild(c));g.parentNode.replaceChild(e,g);d=e}return d}function u(a){var b=m(a);b&&”OBJECT”==b.nodeName&&(k.ie&&k.win?(b.style.display=”none”,function(){if(4==b.readyState){var c=m(a); if(c){for(var d in c)”function”==typeof c[d]&&(c[d]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))}function m(a){var b=null;try{b=l.getElementById(a)}catch(c){}return b}function B(a,b,c){a.attachEvent(b,c);D[D.length]=[a,b,c]}function C(a){var b=k.pv;a=a.split(“.”);a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function q(a,b,c,d){if(!k.ie|| !k.mac){var h=l.getElementsByTagName(“head”)[0];h&&(c=c&&”string”==typeof c?c:”screen”,d&&(K=w=null),w&&K==c||(d=l.createElement(“style”),d.setAttribute(“type”,”text/css”),d.setAttribute(“media”,c),w=h.appendChild(d),k.ie&&k.win&&”undefined”!=typeof l.styleSheets&&0<l.styleSheets.length&&(w=l.styleSheets[l.styleSheets.length-1]),K=c),k.ie&&k.win?w&&"object"==typeof w.addRule&&w.addRule(a,b):w&&"undefined"!=typeof l.createTextNode&&w.appendChild(l.createTextNode(a+" {"+b+"}")))}}function A(a,b){if(M){var c= b?"visible":"hidden";y&&m(a)?m(a).style.visibility=c:q("#"+a,"visibility:"+c)}}function N(a){return null!=/[\".;]/.exec(a)&&"undefined"!=typeof encodeURIComponent?encodeURIComponent(a):a}var r=window,l=document,t=navigator,O=!1,F=[function(){O?p():b()}],x=[],I=[],D=[],E,H,J,L,y=!1,G=!1,w,K,M=!0,k=function(){var a="undefined"!=typeof l.getElementById&&"undefined"!=typeof l.getElementsByTagName&&"undefined"!=typeof l.createElement,b=t.userAgent.toLowerCase(),c=t.platform.toLowerCase(),d=c?/win/.test(c): /win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit/(d+(.d+)?).*$/,"$1")):!1,h=!+"v1",g=[0,0,0],f=null;if("undefined"!=typeof t.plugins&&"object"==typeof t.plugins["Shockwave Flash"])!(f=t.plugins["Shockwave Flash"].description)||"undefined"!=typeof t.mimeTypes&&t.mimeTypes["application/x-shockwave-flash"]&&!t.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(O=!0,h=!1,f=f.replace(https://cdn.joltleft.com/^.*s+(S+s+S+$)/,"$1"),g[0]=parseInt(f.replace(https://cdn.joltleft.com/^(.*)..*$/, "$1"),10),g[1]=parseInt(f.replace(https://cdn.joltleft.com/^.*.(.*)s.*$/,"$1"),10),g[2]=/[a-zA-Z]/.test(f)?parseInt(f.replace(https://cdn.joltleft.com/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if("undefined"!=typeof r.ActiveXObject)try{var e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");e&&(f=e.GetVariable("$version"))&&(h=!0,f=f.split(" ")[1].split(","),g=[parseInt(f[0],10),parseInt(f[1],10),parseInt(f[2],10)])}catch(m){}return{w3:a,pv:g,wk:b,ie:h,win:d,mac:c}}();(function(){k.w3&&(("undefined"!=typeof l.readyState&&"complete"==l.readyState|| "undefined"==typeof l.readyState&&(l.getElementsByTagName("body")[0]||l.body))&&f(),y||("undefined"!=typeof l.addEventListener&&l.addEventListener("DOMContentLoaded",f,!1),k.ie&&k.win&&(l.attachEvent("onreadystatechange",function(){"complete"==l.readyState&&(l.detachEvent("onreadystatechange",arguments.callee),f())}),r==top&&function(){if(!y){try{l.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}f()}}()),k.wk&&function(){y||(/loaded|complete/.test(l.readyState)?f(): setTimeout(arguments.callee,0))}(),e(f)))})();(function(){k.ie&&k.win&&window.attachEvent("onunload",function(){for(var a=D.length,b=0;b<a;b++)D[b][0].detachEvent(D[b][1],D[b][2]);a=I.length;for(b=0;bk.wk)&&b&&c&&f&&e&&m?(A(c,!1),d(function(){f+=””;e+=””;var d={};if(p&&”object”===typeof p)for(var k in p)d[k]=p[k];d.data=b;d.width=f;d.height=e;k={};if(u&&”object”===typeof u)for(var B in u)k[B]=u[B];if(l&&”object”===typeof l)for(var t in l)k.flashvars=”undefined”!=typeof k.flashvars?k.flashvars+(“&”+t+”=”+l[t]):t+”=”+l[t];if(C(m))B=h(d,k,c),d.id==c&&A(c,!0),n.success=!0,n.ref=B;else{if(q&&a()){d.data=q;g(d,k,c,r);return}A(c, !0)}r&&r(n)})):r&&r(n)},switchOffAutoHideShow:function(){M=!1},ua:k,getFlashPlayerVersion:function(){return{major:k.pv[0],minor:k.pv[1],release:k.pv[2]}},hasFlashPlayerVersion:C,createSWF:function(a,b,c){if(k.w3)return h(a,b,c)},showExpressInstall:function(b,c,d,h){k.w3&&a()&&g(b,c,d,h)},removeSWF:function(a){k.w3&&u(a)},createCSS:function(a,b,c,d){k.w3&&q(a,b,c,d)},addDomLoadEvent:d,addLoadEvent:e,getQueryParamValue:function(a){var b=l.location.search||l.location.hash;if(b){/?/.test(b)&&(b=b.split(“?”)[1]); if(null==a)return N(b);for(var b=b.split(“&”),c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return N(b[c].substring(b[c].indexOf("=")+1))}return""},expressInstallCallback:function(){if(G){var a=m("SWFObjectExprInst");a&&E&&(a.parentNode.replaceChild(E,a),H&&(A(H,!0),k.ie&&k.win&&(E.style.display="block")),J&&J(L));G=!1}}}}();(function(f,d){var e={extend:function(a,b){for(var c in b)-1!=="browser cpu device engine os".indexOf(c)&&0===b[c].length%2&&(a[c]=b[c].concat(a[c]));return a},has:function(a,b){return"string"===typeof a?-1!==b.toLowerCase().indexOf(a.toLowerCase()):!1},lowerize:function(a){return a.toLowerCase()},major:function(a){return"string"===typeof a?a.split(".")[0]:d}},p=function(){for(var a,b=0,c,f,g,e,p,n,r=arguments;b<r.length&&!p;){var l=r[b],t=r[b+1];if("undefined"===typeof a)for(g in a={},t)t.hasOwnProperty(g)&& (e=t[g],"object"===typeof e?a[e[0]]=d:a[e]=d);for(c=f=0;c<l.length&&!p;)if(p=l[c++].exec(this.getUA()))for(g=0;g<t.length;g++)n=p[++f],e=t[g],"object"===typeof e&&0<e.length?2==e.length?a[e[0]]="function"==typeof e[1]?e[1].call(this,n):e[1]:3==e.length?a[e[0]]="function"!==typeof e[1]||e[1].exec&&e[1].test?n?n.replace(e[1],e[2]):d:n?e[1].call(this,n,e[2]):d:4==e.length&&(a[e[0]]=n?e[3].call(this,n.replace(e[1],e[2])):d):a[e]=n?n:d;b+=2}return a},b=function(a,b){for(var c in b)if("object"===typeof b[c]&& 0<b[c].length)for(var f=0;f [] Your comment has been submitted to the moderation queue
0) { $.post(‘https://www.pinkvilla.com/api/comment.php’, JSON.stringify({ “nid”: 775029, “comment”: $(‘.modal-form-control’).val(), “pid”: $(‘#comment-reply-cid’).val() }), function(data, status, xhr){ // do something here with response; console.log(data); console.log(status); console.log(xhr.status); console.log(“submit-comment”); console.log($(‘#exampleModal’)); sendCustomEvent(‘post reply comment’, ‘comment’, window.location.href, xhr.status); }); console.log(“hide-modal”); console.log($(‘#exampleModal’)); console.log(“jquery version”); console.log($().jquery); $(‘#exampleModal’).modal(‘hide’); $(‘.modal-form-control’).val(“”); } }); }); // On the main submit comment form, Post a comment $(function () { $(‘body’).on(‘click’, ‘.submit-comment-main’, function (e) { //$(this.form).submit(); //e.preventDefault(); //alert($(‘#textarea-comment-form’)); //console.log($(‘#textarea-comment-form’)); if($(‘#textarea-comment-form’).val().length > 0) { $.post(‘https://www.pinkvilla.com/api/comment.php’, JSON.stringify({ “nid”: 775029, “comment”: $(‘.commentarea-form-control’).val() }), function(data, status, xhr){ // do something here with response; //console.log(data); //console.log(status); //console.log(“submit-comment-main”); sendCustomEvent(‘post new comment’, ‘comment’, window.location.href, xhr.status); }); $(‘#textarea-comment-form’).val(“”); } }); }); $(function () { $(‘.submit-like’).on(‘click’, function(event) { event.preventDefault(); // To prevent following the link (optional) $invokedElement = $(this); $.post(‘https://www.pinkvilla.com/api/flag.php’, JSON.stringify({ “nid”: 775029, “cid”: $(this).data(‘cid’), “flag”: 1, “ip_address”: “”, “unique_id”: fingerprint }), function(data, status, xhr){ console.log(data); console.log(status); sendCustomEvent(‘like comment’, ‘comment’, window.location.href, xhr.status); $invokedElement.text(JSON.parse(JSON.stringify(data)).likeCount).append($(”)); }); }); }); $(function () { $(‘.submit-dislike’).on(‘click’, function(event) { event.preventDefault(); // To prevent following the link (optional) $invokedElement = $(this); $.post(‘https://www.pinkvilla.com/api/flag.php’, JSON.stringify({ “nid”: 775029, “cid”: $(this).data(‘cid’), “flag”: 2, “ip_address”: “”, “unique_id”: fingerprint }), function(data, status, xhr){ console.log(data); console.log(status); sendCustomEvent(‘dislike comment’, ‘comment’, window.location.href, xhr.status); $invokedElement.text(JSON.parse(JSON.stringify(data)).dislikeCount).append($(”)); }); }); }); ]]>
Syndication Source