<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: compatibility code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Mon, 06 Oct 2008 21:16:10 GMT</pubDate>
    <description>DZone Snippets: compatibility code</description>
    <item>
      <title>pairlis</title>
      <link>http://snippets.dzone.com/posts/show/2814</link>
      <description>// common LISP compatible pairlis for newLISP&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;;; &lt;br /&gt;;;(pairlis '(1 2 3) '("one" "two" "three") '((4 "four"))) &lt;br /&gt;;;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;(define (pairlis keys data alist) &lt;br /&gt;  (setq data2 data) &lt;br /&gt;  (setq newlist '()) &lt;br /&gt;  (dolist (x keys) &lt;br /&gt;          (push (list x (pop data2)) newlist -1)) &lt;br /&gt;  (append newlist alist)) &lt;br /&gt;&lt;br /&gt;;; newLISPy way&lt;br /&gt;&lt;br /&gt;(define (pairlis keys data alist) &lt;br /&gt;  (append (map (lambda (x y) (list x y)) keys data) alist)) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sat, 14 Oct 2006 08:30:48 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2814</guid>
      <author>frontera000 (bob bae)</author>
    </item>
    <item>
      <title>Cross browser compatibility tip: Conditional Compile in IE</title>
      <link>http://snippets.dzone.com/posts/show/2107</link>
      <description>From: http://www.javascriptkit.com/javatutors/conditionalcompile.shtml&lt;br /&gt;Conditional Compilation of JScript/ JavaScript in IE&lt;br /&gt;&lt;br /&gt;In IE, there is a little known feature called conditional compilation. Supported since IE4, this feature starting getting some attention when it began showing up in some Ajax related JavaScripts. An absolute form of object detection, conditional compilation lets you dictate to IE whether to compile certain parts of your JScript or JavaScript code depending on predefined and user defined conditions. Think of it as conditional comments for your script that can also be molded to work gracefully with non IE browsers as well.&lt;br /&gt;&lt;br /&gt;Thanks to: http://www.vivabit.com/bollocks/2006/04/06/introducing-dom-builder#c856&lt;br /&gt;&lt;br /&gt;#48: Avatar kentaromiura / 19th April '06&lt;br /&gt;&lt;br /&gt;You could do like I do here: &lt;a hfef="http://freeforumzone.leonardo.it/viewmessaggi.aspx?f=19716&amp;idd=176"&gt;Crazy corners&lt;/a&gt; using IE conditional comment&lt;br /&gt;&lt;code&gt;&lt;br /&gt;var cn=&#226;&#8364;?class&#226;&#8364;?;&lt;br /&gt;&lt;br /&gt;/@cc_on&lt;br /&gt;&lt;br /&gt;cn="className";&lt;br /&gt;&lt;br /&gt;@/&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;so you use cn insted of class or classname _; bye&lt;br /&gt;</description>
      <pubDate>Fri, 26 May 2006 21:48:47 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2107</guid>
      <author>MattScilipoti (Matt Scilipoti)</author>
    </item>
  </channel>
</rss>
