﻿<?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>Travis Miller &#187; JavaScript</title>
	<atom:link href="http://www.electrumdigital.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.electrumdigital.com</link>
	<description>Web Developer for Hire</description>
	<lastBuildDate>Thu, 22 Jul 2010 14:17:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>target=&quot;_blank&quot; for XHTML Strict</title>
		<link>http://www.electrumdigital.com/2009/09/target_blank-for-xhtml-strict/</link>
		<comments>http://www.electrumdigital.com/2009/09/target_blank-for-xhtml-strict/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:35:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX & JavaScript]]></category>
		<category><![CDATA[client-side technologies]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.electrumdigital.com/?p=100</guid>
		<description><![CDATA[For better or for worse, it's a widespread convention for offsite links to open in a new window. This is usually achieved by setting the attribute target="_blank" on the link in question.
Of course, the target attribute is illegal in XHTML Strict&#8212;so this bit of functionality of will invalidate your pages.
I whipped up a simple fix [...]]]></description>
			<content:encoded><![CDATA[<p>For better or for worse, it's a widespread convention for offsite links to open in a new window. This is usually achieved by setting the attribute <code class="html">target="_blank"</code> on the link in question.</p>
<p>Of course, the <code class="html">target</code> attribute is illegal in <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> Strict&#8212;so this bit of functionality of will invalidate your pages.</p>
<p>I whipped up a simple fix to this problem. <a href="/source/js/target-blank/">Here</a>'s the demo and download page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.electrumdigital.com/2009/09/target_blank-for-xhtml-strict/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Standard Library 1.8+</title>
		<link>http://www.electrumdigital.com/2009/06/javascript-standard-library-1-8/</link>
		<comments>http://www.electrumdigital.com/2009/06/javascript-standard-library-1-8/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 23:50:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX & JavaScript]]></category>
		<category><![CDATA[client-side technologies]]></category>
		<category><![CDATA[code library]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript 1.6]]></category>
		<category><![CDATA[legacy browser support]]></category>

		<guid isPermaLink="false">http://www.electrumdigital.com/?p=55</guid>
		<description><![CDATA[I just came across Andrea Giammarchi's JavaScript Standard Library, a &#8776;2.7KB library which transparently adds JavaScript 1.6 methods (mostly the new Array stuff) to browsers which don't support them natively.
Surprisingly, this is the first library I've seen whose sole purpose is JavaScript version compatibility. Andrea says it provides "a quite totally standard environment", and offers [...]]]></description>
			<content:encoded><![CDATA[<p>I just came across Andrea Giammarchi's <a href="http://www.3site.eu/JSL/">JavaScript Standard Library</a>, a &#8776;2.7<abbr title="kilobytes">KB</abbr> library which transparently adds JavaScript 1.6 methods (mostly <a href="https://developer.mozilla.org/en/New_in_JavaScript_1.6#Array_extras">the new <code class="js">Array</code> stuff</a>) to browsers which don't support them natively.</p>
<p>Surprisingly, this is the first library I've seen whose sole purpose is JavaScript version compatibility. Andrea says it provides "<a href="http://webreflection.blogspot.com/2007/11/quite-totally-standard-enviroment.html">a quite totally standard environment</a>", and offers some <a href="http://www.3site.eu/JSL/JSL.html">unit tests</a>.<br />
<span id="more-55"></span><br />
I haven't used it yet, but it's a cool idea.</p>
<p>Note that JSL does <em>not</em> include the JavaScript 1.8 methods <code class="js">Array.reduce()</code> and <code class="js">Array.reduceRight()</code>. If you need those, try the compatibility code offered by Mozilla, <a href="https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Global_Objects/Array/Reduce#Compatibility">here</a> and <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduceRight#Compatibility">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.electrumdigital.com/2009/06/javascript-standard-library-1-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
