hcheat 2008.11.14 → 2008.11.25
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.markdown +5/−0
- hcheat.cabal +1/−1
- src/HCheat.hs +2/−2
changelog.markdown view
@@ -1,3 +1,8 @@+2008.11.25+-----------++### Update analytics code+ 2008.11.14 ----------
hcheat.cabal view
@@ -1,5 +1,5 @@ Name: hcheat-Version: 2008.11.14+Version: 2008.11.25 Build-type: Simple Synopsis: A collection of code cheatsheet Description: Starting with Google Analytics
src/HCheat.hs view
@@ -10,9 +10,9 @@ , "document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\")); " , "</script> " , "<script type=\"text/javascript\"> "- , "var pageTracker = _gat._getTracker(\"" ++ x ++ "\"); "+ , "try { var pageTracker = _gat._getTracker(\"" ++ x ++ "\"); " , "pageTracker._trackPageview(); "- , "</script> "+ , "} catch(err) {}</script> " ] .map strip .join "\n"