<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -241,10 +241,10 @@ authors:
 		}
 		var b = parseInt(parsed[3], 10) || 0;
 		switch (special){
-			case 'n':    parsed = (a === 0) ? 'index' : {a: a, b: b}; break;
+			case 'n':    parsed = {a: a, b: b}; break;
 			case 'odd':  parsed = {a: 2, b: 1}; break;
 			case 'even': parsed = {a: 2, b: 0}; break;
-			default:     parsed = 'index';
+			default:     parsed = {a: 0, b: a};
 		}
 		return (this.cacheNTH[argument] = parsed);
 	};
@@ -437,7 +437,7 @@ authors:
 		},
 
 		'first-child': function(node){
-			return this['pseudo:index'](node, 0);
+			return this['pseudo:nth-child'](node, '1');
 		},
 
 		'last-child': function(node){
@@ -456,7 +456,6 @@ authors:
 		'nth-child': function(node, argument){
 			argument = (!argument) ? 'n' : argument;
 			var parsed = this.cacheNTH[argument] || this.parseNTHArgument(argument);
-			if (parsed === 'index') return this['pseudo:index'](node, argument);
 			var uid = this.uidOf(node);
 			if (!this.positions[uid]){
 				var count = 1;
@@ -472,7 +471,8 @@ authors:
 				this.positions[uid] = count;
 			}
 			var a = parsed.a, b = parsed.b, pos = this.positions[uid];
-			if (a &gt;= 0){
+			if (a == 0) return b == pos;
+			if (a &gt; 0){
 				if (pos &lt; b) return false;
 			} else {
 				if (b &lt; pos) return false;
@@ -482,12 +482,6 @@ authors:
 
 		// custom pseudos
 
-		'index': function(node, index){
-			var count = 1;
-			while ((node = node.previousSibling)) if (node.nodeType === 1 &amp;&amp; ++count &gt; index) return false;
-			return (count == index);
-		},
-
 		'even': function(node, argument){
 			return this['pseudo:nth-child'](node, '2n+1');
 		},</diff>
      <filename>slick.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>632d01cacc6a46eb7ce99511619b53f96c5a2756</id>
    </parent>
  </parents>
  <author>
    <name>Jan Kassens</name>
    <email>jan@kassens.net</email>
  </author>
  <url>http://github.com/subtleGradient/slick/commit/c7e2f7c3823f1d7502c9b4c95d41dabd66229e4d</url>
  <id>c7e2f7c3823f1d7502c9b4c95d41dabd66229e4d</id>
  <committed-date>2009-11-09T19:06:40-08:00</committed-date>
  <authored-date>2009-11-09T14:29:38-08:00</authored-date>
  <message>removing :index pseudo and casing for index</message>
  <tree>74783f701dae09fe4999164cc28782ed16785a86</tree>
  <committer>
    <name>Thomas Aylott</name>
    <email>oblivious+git@subtlegradient.com</email>
  </committer>
</commit>
