in reply to Re: Code rendering issue with specific vars in MetaCPAN POD
in thread Code rendering issue with specific vars in MetaCPAN POD

I turned javascript, still no problem, $x and $y display normally
  • Comment on Re^2: Code rendering issue with specific vars in MetaCPAN POD

Replies are listed 'Best First'.
Re^3: Code rendering issue with specific vars in MetaCPAN POD
by Your Mother (Archbishop) on Aug 25, 2016 at 19:38 UTC

    Interesting. They fail to display in my Chrome, Safari, Firefox, and IE. I turn JS off and they appear. So, it’s clearly what I said it was. :P Buttered scones for tea!

    Why it displays for you and not me… Metacpan preferences that trigger the bug? Someone with patience and interest could step through the code in a dev panel. That someone is not me today.

      Well... more testing

      firefox in safe mode, $x/$y doesn't show , its gone

      firefox + noscript with allow scripts scripts globally, $x/$y is gone

      firefox + noscript with allow scripts temporarily $x/$y is shown

      Nothing obvious in "browser console"

      I notice when $x/$y is gone there is syntax hilighting coloring ... so its http://alexgorbatchev.com/SyntaxHighlighter that is responsible

      firefox + firebug shows  TypeError: MetaCPAN.storage is null ... and no highlighting is showed

      toggling  dom.storage.enabled;false shows the highlighting and $x and $y disappears

      I've found mostly spammy junk breaks if localStorage isn't available, anything worth using still works without localStorage

      Not going to try to stepping through javascript, I've never found that to be productive, esp with minimized scripts