<?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>Notes Log &#187; JavaScript</title>
	<atom:link href="http://noteslog.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://noteslog.com</link>
	<description></description>
	<lastBuildDate>Sat, 15 May 2010 13:31:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to cause a view refresh in jQuery</title>
		<link>http://noteslog.com/post/how-to-cause-a-view-refresh-in-jquery/</link>
		<comments>http://noteslog.com/post/how-to-cause-a-view-refresh-in-jquery/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 13:05:57 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Fixing]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=216</guid>
		<description><![CDATA[$('body').width( $('body').width() - 1 ).width( $('body').width() + 1 );]]></description>
			<content:encoded><![CDATA[<p><pre><code class="javascript">$('body').width( $('body').width() - 1 ).width( $('body').width() + 1 );</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-cause-a-view-refresh-in-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Counting, repeating, and unique ids</title>
		<link>http://noteslog.com/post/counting-repeating-and-unique-ids/</link>
		<comments>http://noteslog.com/post/counting-repeating-and-unique-ids/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 20:40:42 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=211</guid>
		<description><![CDATA[Here are some micro jQuery plugins that implement JavaScript closures, for object oriented pleasure. Repeat Something n Times /** * Repeat something n times */ $.repeat = function( n ) { return { times: function( something ) { for( var i = 0; i &#60; n; i++ ) { something( i ); } return this; [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some micro jQuery plugins that implement JavaScript closures, for object oriented pleasure.</p>
<h4>Repeat Something n Times</h4>
<p><pre><code class="javascript">/**
 * Repeat something n times
 */
$.repeat = function( n ) {
	return {
		times: function( something ) {
			for( var i = 0; i &lt; n; i++ ) {
				something( i );
			}
			return this;
		}
	}
};

/*
 * Example: hip hip hurrah
 */
$.repeat(3).times( function( i ) { 
	$( 'body' ).append( '&lt;span&gt;' + (i &lt; 2 ? &quot;hip&quot; : &quot;hurrah&quot;) + ' &lt;/span&gt;' );
} );</code></pre></p>
<h4>New Date Value (unique id)</h4>
<p><pre><code class="javascript">/**
 * Return a new date value
 * 
 * Each call returns a value greater than the previous call
 */
$.newDateValue = (function() {
	var current = 0;
	return function() {
		do {
			var d = Number(new Date());
		} 
		while( current == d );
		return (current = d);
	}
})();

/*
 * Example: 4 unique ids, and 4 not unique
 */
$.repeat(4)
	.times( function( i ) {
		$( 'body' ).append( '&lt;div&gt;' + i + ': ' + $.newDateValue() + '&lt;/div&gt;' );
	} )
	.times( function( i ) {
		$( 'body' ).append( '&lt;div&gt;' + i + ': ' + Number(new Date()) + '&lt;/div&gt;' );
	} );</code></pre></p>
<h4>Counter</h4>
<p><pre><code class="javascript">/**
 * Return a counter with three methods: next, current, and init
 */
$.counter = function() {
	var current = 0;
	var increment = 1;
	return {
		/**
		 * Initialize current value and increment
		 */
		  init: function( c, i ) {
			var newCurrent = parseInt( c, 10 ); 
			if (! isNaN( newCurrent )) {
				current = newCurrent;
			}
			var newIncrement = parseInt( i, 10 ); 
			if (! isNaN( newIncrement )) {
				increment = newIncrement;
			}
			return this;
		}
		/**
		 * Get the next value
		 */
		, next: function() { 
			return current += increment; 
		}
		/**
		 * Get the current value
		 */
		, current: function() { 
			return current; 
		}
	}
};

/*
 * Example: 1 2 3 3 1 -1 -3
 */
var k = $.counter();

$.repeat(3).times( function() {
	$( 'body' ).append( '&lt;span&gt;' + k.next() + ' &lt;/span&gt;' );
} );

$.repeat(1).times( function() {
	$( 'body' ).append( '&lt;span&gt;' + k.current() + ' &lt;/span&gt;' );
} );

k.init( null, -2 );

$.repeat(3).times( function() {
	$( 'body' ).append( '&lt;span&gt;' + k.next() + ' &lt;/span&gt;' );
} );</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/counting-repeating-and-unique-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write a fast catch-all RegExp</title>
		<link>http://noteslog.com/post/how-to-write-a-fast-catch-all-regexp/</link>
		<comments>http://noteslog.com/post/how-to-write-a-fast-catch-all-regexp/#comments</comments>
		<pubDate>Sat, 17 May 2008 17:55:36 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Fixing]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[regular expression]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=208</guid>
		<description><![CDATA[In How to write a safe catch-all RegExp I suggested to use (?:\w&#124;\W)* for matching any character in a regular expression. It&#8217;s certainly true and safe, and the same stands for its siblings (?:\s&#124;\S)* and (?:\d&#124;\D)*. If you want to match a large text, these expressions are not the best. I&#8217;ve prepared a simple test [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://noteslog.com/post/how-to-write-a-safe-catch-all-regexp/" target="_self">How to write a safe catch-all RegExp</a> I suggested to use <strong><span style="color: #333399;">(?:\w|\W)*</span></strong> for matching any character in a regular expression. It&#8217;s certainly true and safe, and the same stands for its siblings <strong><span style="color: #333399;">(?:\s|\S)*</span></strong> and <strong><span style="color: #333399;">(?:\d|\D)*</span></strong>.</p>
<p>If you want to match a large text, these expressions are not the best. I&#8217;ve prepared a simple <a href="http://noteslog.com/personal/projects/regexp/test.html">test page</a> where the GeSHi&#8217;s engine file, which is almost 120KB, is going to be matched by the regular expression you input.</p>
<p>In Firefox 2 the performance is quite good, about 100 ms on my PC, but in Internet Explorer 7 it takes more than 7 minutes !!!</p>
<p>The best catch-all regular expression is <strong><span style="color: #333399;">[\w\W]*</span></strong>, which employs about 50 ms in FF2, and 0 ms in IE7 !!! (yes, zero milliseconds)</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-write-a-fast-catch-all-regexp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metaobjects 1.5 Released</title>
		<link>http://noteslog.com/post/metaobjects-15-released/</link>
		<comments>http://noteslog.com/post/metaobjects-15-released/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 22:10:23 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Metaobjects]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/metaobjects-15-released/</guid>
		<description><![CDATA[Changes Added support for easy namespacing Added support for jQuery 1.2.3 cache Rewritten the manual from scratch Download You can download metaobjects from Google Code]]></description>
			<content:encoded><![CDATA[<h5>Changes</h5>
<ul>
<li>Added support for easy namespacing</li>
<li>Added support for jQuery 1.2.3 cache</li>
<li>Rewritten the <a href="metaobjects">manual</a> from scratch</li>
</ul>
<h5>Download</h5>
<p>You can <a href="http://code.google.com/p/jquery-metaobjects-js/" target="_blank">download metaobjects</a> from Google Code</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/metaobjects-15-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chili 1.9 Released Today</title>
		<link>http://noteslog.com/post/chili-19-released-today/</link>
		<comments>http://noteslog.com/post/chili-19-released-today/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 19:50:40 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[HotChili]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/chili-19-released-today/</guid>
		<description><![CDATA[UPDATE: Chili 2.0 has been released Changes Circumvented an evil bottleneck Simplified the core clockwork Removed the bundled jQuery library Changed the plugin names to follow the naming convention of jQuery&#8217;s plugins Added a new example showing that Chili 1.9 is much faster Links chili.zip Quick Start Chili Central]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>UPDATE</strong>: <a href="http://noteslog.com/post/chili-20-released-today" target="_self">Chili 2.0</a> has been released</span></p>
<h5>Changes</h5>
<ul>
<li>Circumvented an evil bottleneck</li>
<li>Simplified the core clockwork</li>
<li>Removed the bundled jQuery library</li>
<li>Changed the plugin names to follow the naming convention of jQuery&#8217;s plugins</li>
<li>Added a new example showing that <a href="http://noteslog.com/personal/projects/chili/1.9/examples-special.html" target="_blank">Chili 1.9 is much faster</a></li>
</ul>
<h5>Links</h5>
<ul>
<li><span style="text-decoration: line-through;">chili.zip</span></li>
<li><span style="text-decoration: line-through;">Quick Start</span></li>
<li><a href="http://noteslog.com/chili/">Chili Central</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/chili-19-released-today/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to fix the resize event in IE</title>
		<link>http://noteslog.com/post/how-to-fix-the-resize-event-in-ie/</link>
		<comments>http://noteslog.com/post/how-to-fix-the-resize-event-in-ie/#comments</comments>
		<pubDate>Sun, 23 Sep 2007 21:45:46 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Fixing]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/how-to-fix-the-resize-event-in-ie/</guid>
		<description><![CDATA[In IE the window resize event is fired multiple times per actual resize: it is a well known issue for IE6 and IE7, but they misbehave along different patterns. Actually it seems that IE6 is worse than IE7. After quite a long session of R&#38;D, I&#8217;ve got to a pretty good solution, in the form [...]]]></description>
			<content:encoded><![CDATA[<p>In IE the window resize event is fired multiple times per actual resize: it is a well known issue for IE6 and IE7, but they misbehave along different patterns. Actually it seems that IE6 is worse than IE7.</p>
<p>After quite a long session of R&amp;D, I&#8217;ve got to a pretty good solution, in the form of a jQuery plugin: <a href="http://noteslog.com/personal/projects/wresize/1.1/jquery.wresize.js" target="_blank">jquery.wresize.js</a></p>
<p>/*  
===============================================================================
WResize is the jQuery plugin for fixing the IE window resize bug
...............................................................................
                                               Copyright 2007 / Andrea Ercolino
-------------------------------------------------------------------------------
LICENSE: http://www.opensource.org/licenses/mit-license.php
WEBSITE: http://noteslog.com/
===============================================================================
*/

( function( $ ) 
{
	$.fn.wresize = function( f ) 
	{
		version = '1.1';
		wresize = {fired: false, width: 0};

		function resizeOnce() 
		{
			if ( $.browser.msie )
			{
				if ( ! wresize.fired )
				{
					wresize.fired = true;
				}
				else 
				{
					var version = parseInt( $.browser.version, 10 );
					wresize.fired = false;
					if ( version < 7 )
					{
						return false;
					}
					else if ( version == 7 )
					{
						//a vertical resize is fired once, an horizontal resize twice
						var width = $( window ).width();
						if ( width != wresize.width )
						{
							wresize.width = width;
							return false;
						}
					}
				}
			}

			return true;
		}

		function handleWResize( e ) 
		{
			if ( resizeOnce() )
			{
				return f.apply(this, [e]);
			}
		}

		this.each( function() 
		{
			if ( this == window )
			{
				$( this ).resize( handleWResize );
			}
			else
			{
				$( this ).resize( f );
			}
		} );

		return this;
	};

} ) ( jQuery );</p>
<p>If you want to try it, here is a <a href="http://noteslog.com/personal/projects/wresize/1.1/test-wresize.html" target="_blank">test page</a>, where a div is automatically resized when the window is resized.</p>
<p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="overflow:hidden;">
 <head>
  <title> test window resize </title>

<script type="text/javascript" src="http://jquery.com/src/jquery-latest.pack.js"></script>
<script type="text/javascript" src="jquery.wresize.js"></script>


<script type="text/javascript">
jQuery( function( $ ) 
{
	function content_resize() 
	{
		var w = $( window );
		var H = w.height();
		var W = w.width();
		$( '#content' ).css( {width: W-20, height: H-20} );
	}

	$( window ).wresize( content_resize );

	content_resize();
} );
</script>

 </head>

 <body>
 
<div id="content" style="border: 1px dashed silver; position:absolute; overflow:auto;">
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test 
</div>

 </body>
</html></p>
<p>References:</p>
<blockquote><p><a href="http://dev.jquery.com/ticket/1625" target="_blank">http://dev.jquery.com</a><br />
<a href="http://snook.ca/archives/javascript/ie6_fires_onresize/" target="_blank"> http://snook.ca</a><br />
<a href="http://ecmascript.stchur.com/2006/08/20/beating-the-ie-resize-bug/" target="_blank"> http://ecmascript.stchur.com</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-fix-the-resize-event-in-ie/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Chili 1.8c Released Today</title>
		<link>http://noteslog.com/post/chili-18c-released-today/</link>
		<comments>http://noteslog.com/post/chili-18c-released-today/#comments</comments>
		<pubDate>Sat, 21 Jul 2007 23:37:07 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[HotChili]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/chili-18c-released-today/</guid>
		<description><![CDATA[UPDATE: Chili 1.9 has been released Changes Fixed the single chunk limitation. Now any element should be properly highlighted by Chili, even if it contains many chunks, even if it is already highlighted. Updated the bundled jQuery library to version 1.1.3.1 Removed the examples from the distribution zip Added a quick start guide, with a [...]]]></description>
			<content:encoded><![CDATA[<h4><span><span style="color: #ff0000;"><strong>UPDATE</strong>: <a href="/post/chili-19-released-today" target="_self">Chili 1.9</a> has been released</span></span></h4>
<h5>Changes</h5>
<ul>
<li>Fixed the single chunk limitation. Now any element should be properly highlighted by Chili, even if it contains many chunks, even if it is already highlighted.</li>
<li>Updated the bundled jQuery library to version 1.1.3.1</li>
<li>Removed the examples from the distribution zip</li>
<li>Added a quick start guide, with a 3 steps Chili installation, all the examples, and a simple how-to for HotChili</li>
</ul>
<h5>Links</h5>
<ul>
<li>chili.zip</li>
<li><a href="/personal/projects/chili/">Quick Start</a></li>
<li><a href="/chili/">Chili Central</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/chili-18c-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing HotChili</title>
		<link>http://noteslog.com/post/introducing-hotchili/</link>
		<comments>http://noteslog.com/post/introducing-hotchili/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 12:07:35 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[HotChili]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/introducing-hot-chili/</guid>
		<description><![CDATA[The rationale behind Chili is that I need highlighted code to understand a program listing. I developed Chili to make it really easy for every blogger to add highlighting to their own code snippets. The rationale behind HotChili is that many sites still don&#8217;t use any highlighting at all, and that bothers me. I developed [...]]]></description>
			<content:encoded><![CDATA[<p>The rationale behind Chili is that I need highlighted code to understand a program listing. I developed Chili to make it really easy for every blogger to add highlighting to their own code snippets.</p>
<p>The rationale behind HotChili is that many sites still don&#8217;t use any highlighting at all, and that bothers me. I developed HotChili to make it really easy for every internet user to add highlighting to someone else&#8217;s code snippets.</p>
<p>HotChili is a <a href="http://www.greasespot.net/" target="_blank">Greasemonkey</a> user script (plugin), so it runs on any FireFox browser with that extension installed. HotChili is very easy to install and easier to use. Just click on a dull snippet and spice it up by selecting a language off the popup menu. If you change your mind, click again and undo it. That&#8217;s all!!</p>
<p align="center"><strong><a href="http://userscripts.org/scripts/show/10676" target="_blank">Install HotChili</a></strong></p>
<p>After installing HotChili, you can browse the web as usual. If you want to test it, here is a short list of good programming pages that lack any highlighting: <a href="http://www.fluffycat.com/PHP-Design-Patterns/Iterator/" target="_blank">1</a>, <a href="http://dev.mysql.com/doc/refman/5.1/en/twin-pool.html" target="_blank">2</a>, <a href="http://www.onlamp.com/pub/a/php/2007/04/26/code-as-data-reflection-in-php.html" target="_blank">3</a>, <a href="http://javascript.crockford.com/inheritance.html" target="_blank">4</a>, <a href="http://yuiblog.com/" target="_blank">5</a> &#8230;</p>
<p>As you see, HotChili is very simple to use and adds quite a readability factor to code. My advise is to turn it off during normal browsing, and turn it on when you really need it.</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/introducing-hotchili/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chili 1.8b Released Today</title>
		<link>http://noteslog.com/post/chili-18b-released-today/</link>
		<comments>http://noteslog.com/post/chili-18b-released-today/#comments</comments>
		<pubDate>Sun, 27 May 2007 19:56:43 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/chili-18b-released-today/</guid>
		<description><![CDATA[UPDATE: Chili 1.8c has been released Changes Fixed a bug that showed up when the content of an element to highlight was not a single chunk: in that case the content was erased. Now such an element won&#8217;t be highlighted by Chili. Content without markup is one chunk, which makes it possible to apply Chili&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<h4><span style="color: #ff0000;"><strong>UPDATE</strong>: <a href="/post/chili-18c-released-today" target="_self">Chili 1.8c</a> has been released</span></h4>
<h5>Changes</h5>
<ul>
<li>Fixed a bug that showed up when the content of an element to highlight was not a single chunk: in that case the content was erased. Now such an element won&#8217;t be highlighted by Chili.<br />
Content without markup is one chunk, which makes it possible to apply Chili&#8217;s markup.</li>
</ul>
<h5>Files</h5>
<ul>
<li>download all in a zip</li>
<li><a href="/chili/">read the manual</a></li>
<li>Examples
<ul>
<li>bundled languages<br />
this page shows how Chili highlights the bundled languages: JavaScript, PHP, MySQL, XHTML, Java, C++, C#, Delphi, and LotusScript (BTW, using the dynamic and automatic setup)</li>
<li>static, automatic, adhoc: this page shows how to setup Chili for
<ul>
<li>downloading recipes and stylesheets all at once, using HTML</li>
<li>highlighting code sections automatically</li>
<li>highlighting code sections ad-hoc</li>
</ul>
</li>
<li>dynamic, automatic, adhoc: this page shows how to setup Chili for
<ul>
<li>downloading recipes and stylesheets as needed, using AJAX</li>
<li>highlighting code sections automatically</li>
<li>highlighting code sections ad-hoc</li>
</ul>
</li>
<li>dynamic, automatic, adhoc, metaobjects: this page shows how to setup Chili for
<ul>
<li>downloading recipes and stylesheets as needed, using AJAX</li>
<li>highlighting code sections automatically</li>
<li>highlighting code sections ad-hoc</li>
<li>highlighting code sections using special recipes and stylesheets, by means of <a href="/metaobjects/">metaobjects</a></li>
</ul>
</li>
</ul>
<ul>
<li>all the other combinations: this page shows all the other possible combinations</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/chili-18b-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chili 1.8a Released Today</title>
		<link>http://noteslog.com/post/chili-18a-released-today/</link>
		<comments>http://noteslog.com/post/chili-18a-released-today/#comments</comments>
		<pubDate>Fri, 25 May 2007 21:04:16 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/chili-18a-released-today/</guid>
		<description><![CDATA[UPDATE: Chili 1.8b has been released Changes Fixed a bug that showed up when the metadataSelector option was an empty string. Now that value is used for telling Chili not to execute the metaobjects plugin (which Chili executes by default) Some minor cleanup Renamed the bundled jQuery library to reflect the correct version number (1.1.2) [...]]]></description>
			<content:encoded><![CDATA[<h4><span style="color: #ff0000;"><strong>UPDATE</strong>: <a href="/post/chili-18b-released-today" target="_self">Chili 1.8b</a> has been released</span></h4>
<h5>Changes</h5>
<ul>
<li>Fixed a bug that showed up when the metadataSelector option was an empty string. Now that value is used for telling Chili not to execute the metaobjects plugin (which Chili executes by default)</li>
<li>Some minor cleanup</li>
<li>Renamed the bundled jQuery library to reflect the correct version number (1.1.2)</li>
</ul>
<h5>Files</h5>
<ul>
<li>download all in a zip</li>
<li><a href="/chili/">read the manual</a></li>
<li>Examples
<ul>
<li>bundled languages<br />
this page shows how Chili highlights the bundled languages: JavaScript, PHP, MySQL, XHTML, Java, C++, C#, Delphi, and LotusScript (BTW, using the dynamic and automatic setup)</li>
<li>static, automatic, adhoc: this page shows how to setup Chili for
<ul>
<li>downloading recipes and stylesheets all at once, using HTML</li>
<li>highlighting code sections automatically</li>
<li>highlighting code sections ad-hoc</li>
</ul>
</li>
<li>dynamic, automatic, adhoc: this page shows how to setup Chili for
<ul>
<li>downloading recipes and stylesheets as needed, using AJAX</li>
<li>highlighting code sections automatically</li>
<li>highlighting code sections ad-hoc</li>
</ul>
</li>
<li>dynamic, automatic, adhoc, metaobjects: this page shows how to setup Chili for
<ul>
<li>downloading recipes and stylesheets as needed, using AJAX</li>
<li>highlighting code sections automatically</li>
<li>highlighting code sections ad-hoc</li>
<li>highlighting code sections using special recipes and stylesheets, by means of <a href="/metaobjects/">metaobjects</a></li>
</ul>
</li>
</ul>
<ul>
<li>all the other combinations: this page shows all the other possible combinations</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/chili-18a-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
