<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Developer-facing changes only, I think: now the code for each location (where a location is defined as &quot;the pathname of the file implementing it server side, minus / and suffix&quot;) has its code in a corresponding at_locationname() function. Code providing spoilers for same location is, similarly, placed in spoil_locationname(), which won't get called if spoilers are turned off.

So: no need to read through the entire code to see where things happen any more; it's pretty much just the file header and the functions named after the current page, and whatever those invoke in turn. Lots of undeclared variables fixed, and improved readability here and there (I must say the original author has a very peculiar approach to whitespace distribution).

Try running &lt;code&gt;eval(mr.script.call(this))&lt;/code&gt; from your Firebug console to get all the script's global variables and functions from whichever frame loaded most recently, if you want to do some live debugging; it's kind of nice.</body>
  <body-html>&lt;p&gt;Developer-facing changes only, I think: now the code for each location (where a location is defined as &quot;the pathname of the file implementing it server side, minus / and suffix&quot;) has its code in a corresponding at_locationname() function. Code providing spoilers for same location is, similarly, placed in spoil_locationname(), which won't get called if spoilers are turned off.&lt;/p&gt;

&lt;p&gt;So: no need to read through the entire code to see where things happen any more; it's pretty much just the file header and the functions named after the current page, and whatever those invoke in turn. Lots of undeclared variables fixed, and improved readability here and there (I must say the original author has a very peculiar approach to whitespace distribution).&lt;/p&gt;

&lt;p&gt;Try running &lt;code&gt;eval(mr.script.call(this))&lt;/code&gt; from your Firebug console to get all the script's global variables and functions from whichever frame loaded most recently, if you want to do some live debugging; it's kind of nice.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-07-26T07:15:19Z</created-at>
  <forumable-id type="integer">54430</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">150851</id>
  <topic-id type="integer">31517</topic-id>
  <updated-at type="datetime">2009-07-26T07:15:19Z</updated-at>
  <user-agent>Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19</user-agent>
  <user-id type="integer">326</user-id>
</post>
