Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthon Pang <apang@softwaredevelopment.ca>2013-03-24 01:56:05 +0400
committerAnthon Pang <apang@softwaredevelopment.ca>2013-03-24 08:53:48 +0400
commite233ebaa002ccc20590e7f1ea4247189a873a665 (patch)
treee9b15d171e9ae9ebf5da8a6ba11fa3b4feec04a6 /piwik.js
parent84168836dad6877dafe3ab3693d212b5cd04ea09 (diff)
remove tabs and fix jslint error
Diffstat (limited to 'piwik.js')
-rw-r--r--piwik.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/piwik.js b/piwik.js
index 252a95cb3e..7894010d0e 100644
--- a/piwik.js
+++ b/piwik.js
@@ -27,4 +27,4 @@ aa=bj}else{aD=aa=null}}else{if(bh.type==="mouseup"){if(bi===aD&&bj===aa){aS(bj)}
}else{if(bj==="visit"||bj===2){O();bh=S[bi]}}if(!q(bh)||(bh&&bh[0]==="")){return false}return bh},deleteCustomVariable:function(bh,bi){if(this.getCustomVariable(bh,bi)){this.setCustomVariable(bh,"","",bi)}},setLinkTrackingTimer:function(bh){aH=bh},setDownloadExtensions:function(bh){ap=bh},addDownloadExtensions:function(bh){ap+="|"+bh},setDomains:function(bh){aJ=j(bh)?[bh]:bh;aJ.push(a0)},setIgnoreClasses:function(bh){T=j(bh)?[bh]:bh},setRequestMethod:function(bh){aL=bh||"GET"},setReferrerUrl:function(bh){aN=bh},setCustomUrl:function(bh){ax=aZ(be,bh)},setDocumentTitle:function(bh){an=bh},setAPIUrl:function(bh){ae=bh},setDownloadClasses:function(bh){aB=j(bh)?[bh]:bh},setLinkClasses:function(bh){ag=j(bh)?[bh]:bh},setCampaignNameKey:function(bh){ar=j(bh)?[bh]:bh},setCampaignKeywordKey:function(bh){am=j(bh)?[bh]:bh},discardHashTag:function(bh){V=bh},setCookieNamePrefix:function(bh){bc=bh;S=ab()},setCookieDomain:function(bh){Z=s(bh);aE()},setCookiePath:function(bh){bd=bh;aE()},setVisitorCookieTimeout:function(bh){ad=bh*1000
},setSessionCookieTimeout:function(bh){af=bh*1000},setReferralCookieTimeout:function(bh){ay=bh*1000},setConversionAttributionFirstReferrer:function(bh){aw=bh},disableCookies:function(){X=true;a5.cookie="0"},setDoNotTrack:function(bi){var bh=c.doNotTrack||c.msDoNotTrack;a7=bi&&(bh==="yes"||bh==="1");if(a7){this.disableCookies()}},addListener:function(bi,bh){aR(bi,bh)},enableLinkTracking:function(bh){if(l){az(bh)}else{w.push(function(){az(bh)})}},setHeartBeatTimer:function(bj,bi){var bh=new Date();U=bh.getTime()+bj*1000;ai=bi*1000},killFrame:function(){if(y.location!==y.top.location){y.top.location=y.location}},redirectFile:function(bh){if(y.location.protocol==="file:"){y.location=bh}},setCountPreRendered:function(bh){au=bh},trackGoal:function(bh,bj,bi){ak(function(){aF(bh,bj,bi)})},trackLink:function(bi,bh,bj){ak(function(){a2(bi,bh,bj)})},trackPageView:function(bh,bi){if(t(a4)){ak(function(){D(P,ae,a4)})}else{ak(function(){aA(bh,bi)})}},trackSiteSearch:function(bh,bj,bi){ak(function(){al(bh,bj,bi)
})},setEcommerceView:function(bk,bh,bj,bi){if(!q(bj)||!bj.length){bj=""}else{if(bj instanceof Array){bj=JSON2.stringify(bj)}}aC[5]=["_pkc",bj];if(q(bi)&&String(bi).length){aC[2]=["_pkp",bi]}if((!q(bk)||!bk.length)&&(!q(bh)||!bh.length)){return}if(q(bk)&&bk.length){aC[3]=["_pks",bk]}if(!q(bh)||!bh.length){bh=""}aC[4]=["_pkn",bh]},addEcommerceItem:function(bl,bh,bj,bi,bk){if(bl.length){aT[bl]=[bl,bh,bj,bi,bk]}},trackEcommerceOrder:function(bh,bl,bk,bj,bi,bm){aX(bh,bl,bk,bj,bi,bm)},trackEcommerceCartUpdate:function(bh){bb(bh)}}}function p(){return{push:I}}L(y,"beforeunload",J,false);k();Date.prototype.getTimeAlias=Date.prototype.getTime;C=new v();for(F=0;F<_paq.length;F++){if(_paq[F][0]==="setTrackerUrl"||_paq[F][0]==="setSiteId"){I(_paq[F]);delete _paq[F]}}for(F=0;F<_paq.length;F++){if(_paq[F]){I(_paq[F])}}_paq=new p();return{addPlugin:function(i,N){a[i]=N},getTracker:function(i,N){return new v(i,N)},getAsyncTracker:function(){return C}}}()),piwik_track,piwik_log=function(b,f,d,g){function a(h){try{return eval("piwik_"+h)
-}catch(i){}return}var c,e=Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}}; \ No newline at end of file
+}catch(i){}return}var c,e=Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}};