mmozuras / git-playback

Create visual playback of your commits
MIT License
170 stars 16 forks source link

Blank page + JS errors #7

Closed MagnusEnger closed 8 years ago

MagnusEnger commented 11 years ago

This looks interesting, but I'm running into a problem:

I just cloned and "make install"ed git playback, and it seems to run nicely, e.g.:

$ git playback -s 3d3a9f27d0545255e093f38c6ff4789c2d3572da opac/opac-sign.pl

However when I try to view playback.html in Firefox 17.0.1 on Ubuntu 12.10 all I see is a blank page. Firebug reports these errors:

SyntaxError: missing ; before statement ...xt = current + 1; next = total === next t 0 : next; break; case 'prev': next = c... playback.html (line 9851, col 60)

TypeError: jQuery(...).playback is not a function ...(v.childNodes[u].nodeType==3){w+=v.childNodes[u].nodeValue.length}else{if(v.chil... playback.html (line 9851)

Line 9851 is the somewhat impenetrable line of JS that starts with " (function(a,b){function G(a){var b=F[a]={};return p.ea" etc...

Any ideas?

mmozuras commented 11 years ago

Thanks for reporting it!

What kind of language is .pl? Have you tried running git-playback on other files?

MagnusEnger commented 11 years ago

Sorry for the delay!

.pl is Perl. I tried it on a HTML template file (Template Toolkit, also Perl-related) but no luck there either.