<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mesmer Lab &#187; prototype</title>
	<atom:link href="http://www.mesmerlab.com/tag/prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mesmerlab.com</link>
	<description>Tech and trends in web design+development.</description>
	<lastBuildDate>Tue, 22 Jun 2010 00:59:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Updating Prototype in a DreamHost 1-Click Install</title>
		<link>http://www.mesmerlab.com/updating-prototype-in-a-dreamhost-1-click-install/</link>
		<comments>http://www.mesmerlab.com/updating-prototype-in-a-dreamhost-1-click-install/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 17:39:32 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=187</guid>
		<description><![CDATA[I&#8217;ve used DreamHost for years with very little, if any trouble. I highly recommend them to anyone looking for a hosting solution. While developing this site, I came across Xavin’s List Subpages plugin for WordPress that allows me to show a submenu based on the ID number of a page. You can see the working [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used <a href="http://www.dreamhost.com/r.cgi?447595" target="_blank">DreamHost</a> for years with very little, if any trouble. I highly recommend them to anyone looking for a hosting solution. While developing this site, I came across <a href="http://www.jonathanspence.com/software/wordpress-plugins/xavins-list-subpages/" target="_blank">Xavin’s List Subpages</a> plugin for WordPress that allows me to show a submenu based on the ID number of a page.<span style="display:none;"> You can see the working menu on <a href="http://www.mesmerlab.com/portfolio/">my portfolio</a> page.</span><span id="more-187"></span></p>
<div class="separator"></div>
<h3>Trouble Ahead</h3>
<p>One small problem came up when I was clicking on the submenu items. It seemed Firebug showed an error once I clicked, yet it went away when the page moved on. Ok, so this is a very tiny flaw that would only be visible to a quick eye and only bother perfectionists like me. So I dove right in. A quick punch of the stop button snared the error for further investigation. Off to Google with&#8230;</p>
<p><code>'^=': function(nv, v) { return nv.startsWith(v); },</code></p>
<div class="separator"></div>
<h3>A Lighthouse in the Distance</h3>
<p>Most of the hits were versions of the Prototype script itself. But a <a href="http://dev.rubyonrails.org/attachment/ticket/11395/prototype.match.null.patch" target="_blank">post on the Ruby On Rails</a> development site had exactly what I was looking for. <em>Prototype Element.match returns TypeError nv: null when selecting for an attribute that is not present.</em> It seems that they had found and fixed the bug back in March of 2008.</p>
<div class="separator"></div>
<h3>Moving into Port</h3>
<p>So I go back to the prototype.js that is installed here and find the outdated 1.6.0 version. I got the <a href="http://www.prototypejs.org/download">latest 1.6.0.3 version</a> from the source and updated the file on my server. Now the fleeting error notice is gone and everything works perfectly.</p>
<div class="separator"></div>
<h3>Safely Ashore</h3>
<p>To ensure the safety and sanity of other hunters of minuscule bugs, I posted a request to update Prototype on the DreamHost suggestion tracker. Waves of euphoria are rushing right now; similar to when I make a spelling correction on Wikipedia.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/updating-prototype-in-a-dreamhost-1-click-install/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
