<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippet Revisions</title>
		<link>http://www.bytemycode.com</link>
		<description>Revisions for this snippet.</description>
		<pubDate>Fri, 04 Jul 2008 22:03:01 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	
	<item>
		<title>New Javascript Class with data hiding 1</title>
		<link>http://www.bytemycode.com/snippets/snippet/780/1/</link>
		<comments>http://www.bytemycode.com/snippets/snippet/780/comments/</comments>
		<pubDate>Mon, 24 Dec 2007 02:34:05 +0000</pubDate>
		<dc:creator>Fordiman</dc:creator>
		<category>"data hidng", Class, JavaScript, Prototype</category>
		<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/780/</guid>
		<description>
			<![CDATA[
				<p>Ok, so I was getting frustrated with the inability to hide data in javascript, as well as a number of other concerns with existing class structures (the requirement to use this.constructor in lieu of self, for example).<br /><br />As a result, I've thrown together a nice little class constructor that accepts a class definition, as well as a class extender that allows you to build a new class from an existing one, with full access to all that private stuff.</p>
			]]>
		</description>
	</item>

	
	</channel>
</rss>