<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -222,86 +222,86 @@ Behavior = {
 };
 
 
-// Original code by Sylvian Zimmer
-// http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/
-// Optimises execution speed of the $$ function.  Rewritten for readability by Justin Palmer.
-// 
-// Turn off optimisation with LowPro.optimize$$ = false;
-LowPro.SelectorLite = Class.create();
-LowPro.SelectorLite.prototype = {
-  initialize: function(selectors) {
-    this.results = []; 
-    this.selectors = []; 
-    this.index = 0;
-    
-    for(var i = selectors.length -1; i &gt;= 0; i--) {
-      var params = { tag: '*', id: null, classes: [] };
-      var selector = selectors[i];
-      var needle = selector.length - 1;
-      
-      do {
-        var id = selector.lastIndexOf(&quot;#&quot;);
-        var klass = selector.lastIndexOf(&quot;.&quot;);
-        var cursor = Math.max(id, klass);
-        
-        if(cursor == -1) params.tag = selector.toUpperCase();
-        else if(id == -1 || klass == cursor) params.classes.push(selector.substring(klass + 1))
-        else if(!params.id) params.id = selector.substring(id + 1);
-        
-        selector = selector.substring(0, cursor);
-      } while(cursor &gt; 0);
-      this.selectors[i] = params;
-    }
-    
-  },
-  
-  get: function(root) {
-    this.findElements(root || document, this.index == (this.selectors.length - 1));
-    return this.results;
-  },
-  
-  findElements: function(parent, descendant) {
-    var selector = this.selectors[this.index], results = [], element;
-    if(selector.id) {
-      element = $(selector.id);
-      if(element &amp;&amp; (selector.tag == '*' || element.tagName == selector.tag) &amp;&amp; 
-        (element.childOf(parent))) {
-        results = [element];
-      }
-    } else {
-      results = $A(parent.getElementsByTagName(selector.tag));
-    }
-    
-    if(selector.classes.length == 1) {
-      results = results.select(function(target) {
-       return $(target).hasClassName(selector.classes[0]);
-      });
-    } else if(selector.classes.length &gt; 1) {
-      results = results.select(function(target) {
-        var klasses = $(target).classNames();
-        return selector.classes.all(function(klass) {
-          return klasses.include(klass);
-        });
-      });
-    }
-    
-    if(descendant) {
-      this.results = this.results.concat(results);
-    } else {
-      ++this.index;
-      results.each(function(target) {
-        this.findElements(target, this.index == (this.selectors.length - 1));
-      }.bind(this));
-    }
-  }
-}
-
-LowPro.$$old=$$;
-LowPro.optimize$$ = true;
-
-function $$(a,b) {
-  if (LowPro.optimize$$ == false || b || a.indexOf(&quot;[&quot;)&gt;=0) 
-    return LowPro.$$old.apply(this, arguments);
-  return new LowPro.SelectorLite(a.split(/\s+/)).get();
+// Original code by Sylvian Zimmer
+// http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/
+// Optimises execution speed of the $$ function.  Rewritten for readability by Justin Palmer.
+// 
+// Turn off optimisation with LowPro.optimize$$ = false;
+LowPro.SelectorLite = Class.create();
+LowPro.SelectorLite.prototype = {
+  initialize: function(selectors) {
+    this.results = []; 
+    this.selectors = []; 
+    this.index = 0;
+    
+    for(var i = selectors.length -1; i &gt;= 0; i--) {
+      var params = { tag: '*', id: null, classes: [] };
+      var selector = selectors[i];
+      var needle = selector.length - 1;
+      
+      do {
+        var id = selector.lastIndexOf(&quot;#&quot;);
+        var klass = selector.lastIndexOf(&quot;.&quot;);
+        var cursor = Math.max(id, klass);
+        
+        if(cursor == -1) params.tag = selector.toUpperCase();
+        else if(id == -1 || klass == cursor) params.classes.push(selector.substring(klass + 1))
+        else if(!params.id) params.id = selector.substring(id + 1);
+        
+        selector = selector.substring(0, cursor);
+      } while(cursor &gt; 0);
+      this.selectors[i] = params;
+    }
+    
+  },
+  
+  get: function(root) {
+    this.findElements(root || document, this.index == (this.selectors.length - 1));
+    return this.results;
+  },
+  
+  findElements: function(parent, descendant) {
+    var selector = this.selectors[this.index], results = [], element;
+    if(selector.id) {
+      element = $(selector.id);
+      if(element &amp;&amp; (selector.tag == '*' || element.tagName == selector.tag) &amp;&amp; 
+        (element.childOf(parent))) {
+        results = [element];
+      }
+    } else {
+      results = $A(parent.getElementsByTagName(selector.tag));
+    }
+    
+    if(selector.classes.length == 1) {
+      results = results.select(function(target) {
+       return $(target).hasClassName(selector.classes[0]);
+      });
+    } else if(selector.classes.length &gt; 1) {
+      results = results.select(function(target) {
+        var klasses = $(target).classNames();
+        return selector.classes.all(function(klass) {
+          return klasses.include(klass);
+        });
+      });
+    }
+    
+    if(descendant) {
+      this.results = this.results.concat(results);
+    } else {
+      ++this.index;
+      results.each(function(target) {
+        this.findElements(target, this.index == (this.selectors.length - 1));
+      }.bind(this));
+    }
+  }
+}
+
+LowPro.$$old=$$;
+LowPro.optimize$$ = true;
+
+function $$(a,b) {
+  if (LowPro.optimize$$ == false || b || a.indexOf(&quot;[&quot;)&gt;=0) 
+    return LowPro.$$old.apply(this, arguments);
+  return new LowPro.SelectorLite(a.split(/\s+/)).get();
 }
 </diff>
      <filename>public/javascripts/lowpro.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,163 +1,163 @@
-/************************************
- *
- * An add-on to Prototype 1.5 to speed up the $$ function in usual cases.
- *
- * http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/
- * 
- * Authors: 
- *    - Sylvain ZIMMER &lt;sylvain _at_ jamendo.com&gt;
- *
- * Changelog:
- *   v1 (2006/06/25)
- *     - Initial release
- *
- * License: AS-IS
- *
- * Trivia: Check out www.jamendo.com for some great Creative Commons music ;-)
- *
- ************************************/
- 
- 
- 
-// We don't extend the Selector class because we want 
-// to be able to use it if the expression is too complicated.
-var SelectorLiteAddon=Class.create();
-
-
-SelectorLiteAddon.prototype = {
-
+/************************************
+ *
+ * An add-on to Prototype 1.5 to speed up the $$ function in usual cases.
+ *
+ * http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/
+ * 
+ * Authors: 
+ *    - Sylvain ZIMMER &lt;sylvain _at_ jamendo.com&gt;
+ *
+ * Changelog:
+ *   v1 (2006/06/25)
+ *     - Initial release
+ *
+ * License: AS-IS
+ *
+ * Trivia: Check out www.jamendo.com for some great Creative Commons music ;-)
+ *
+ ************************************/
+ 
+ 
+ 
+// We don't extend the Selector class because we want 
+// to be able to use it if the expression is too complicated.
+var SelectorLiteAddon=Class.create();
+
+
+SelectorLiteAddon.prototype = {
+
   // This is the constructor. It parses the stack of selectors.
-  initialize: function(stack) {
-    
-    this.r=[]; //results
-    this.s=[]; //stack of selectors
-    this.i=0;  //stack pointer
-    
-    //Parse the selectors
-    for (var i=stack.length-1;i&gt;=0;i--) {
-    
-      //This is the parsed selector. Format is : [tagname, id, classnames]
-      var s=[&quot;*&quot;,&quot;&quot;,[]]; 
-      
-      //The unparsed current selector
-      var t=stack[i];
-      
-      //Parse the selector backwards
-      var cursor=t.length-1;
-      do {
-        
-        var d=t.lastIndexOf(&quot;#&quot;);
-        var p=t.lastIndexOf(&quot;.&quot;);
-        cursor=Math.max(d,p);
-        
-        //Found a tagName
-        if (cursor==-1) {
-          s[0]=t.toUpperCase();
-          
-        //Found a className
-        } else if (d==-1 || p==cursor) {
-          s[2].push(t.substring(p+1));
-          
-        //Found an ID
-        } else if (!s[1]) {
-          s[1]=t.substring(d+1);
-        }
-        t=t.substring(0,cursor);
-      } while (cursor&gt;0);
-      this.s[i]=s;
-    }
-  },
-  
-  //Returns a list of matched elements below a given root.
-  get:function(root) {
-    this.explore(root || document,this.i==(this.s.length-1));
-    return this.r;
-  },
-  
-  //Recursive function where the actual search is being done.
-  // elt: current root element
-  // leaf: boolean, are we in a leaf of the search tree?
-  explore:function(elt,leaf) {
-    
-    //Parsed selector
-    var s=this.s[this.i];
-    
-    //Results
-    var r=[];
-    
-    //Selector has an ID, use it!
-    if (s[1]) {
-    
-      e=$(s[1]);      
-      if (e &amp;&amp; (s[0]==&quot;*&quot; || e.tagName==s[0]) &amp;&amp; e.childOf(elt)) {
-       r=[e];
-      }
-      
-    //Selector has no ID, search by tagname.
-    } else {
-      r=$A(elt.getElementsByTagName(s[0]));
-    }
-    
-    
-    //Filter the results by classnames. 
-    //Todo: by attributes too?
-    //Sidenote: The performance hit is often here.
-    
-    //Single className : that's fast!
-    if (s[2].length==1) { //single classname
-      r=r.findAll(function(o) {
-      
-        //If the element has only one classname too, the test is simple!
-        if (o.className.indexOf(&quot; &quot;)==-1) {
-          return o.className==s[2][0];
-        } else {
-          return o.className.split(/\s+/).include(s[2][0]);
-        }
-      });
-    
-    //Multipe classNames, a bit slower.
-    } else if (s[2].length&gt;0) {
-      r=r.findAll(function(o) {
-      
-        //If the elemtn has only one classname, we can drop it.
-        if (o.className.indexOf(&quot; &quot;)==-1) { 
-          return false;
-        } else {
-        
-          //Check that all required classnames are present.
-          var q=o.className.split(/\s+/);
-          return s[2].all(function(c) {
-            return q.include(c);
-          });
-        }
-      });
-    }
-    
-    
-    //Append the results if we're in a leaf
-    if (leaf) {
-      this.r=this.r.concat(r);
-      
-    //Continue exploring the tree otherwise
-    } else {
-      ++this.i;
-      r.each(function(o) {
-        this.explore(o,this.i==(this.s.length-1));
-      }.bind(this));
-    }
-  }
-  
+  initialize: function(stack) {
+    
+    this.r=[]; //results
+    this.s=[]; //stack of selectors
+    this.i=0;  //stack pointer
+    
+    //Parse the selectors
+    for (var i=stack.length-1;i&gt;=0;i--) {
+    
+      //This is the parsed selector. Format is : [tagname, id, classnames]
+      var s=[&quot;*&quot;,&quot;&quot;,[]]; 
+      
+      //The unparsed current selector
+      var t=stack[i];
+      
+      //Parse the selector backwards
+      var cursor=t.length-1;
+      do {
+        
+        var d=t.lastIndexOf(&quot;#&quot;);
+        var p=t.lastIndexOf(&quot;.&quot;);
+        cursor=Math.max(d,p);
+        
+        //Found a tagName
+        if (cursor==-1) {
+          s[0]=t.toUpperCase();
+          
+        //Found a className
+        } else if (d==-1 || p==cursor) {
+          s[2].push(t.substring(p+1));
+          
+        //Found an ID
+        } else if (!s[1]) {
+          s[1]=t.substring(d+1);
+        }
+        t=t.substring(0,cursor);
+      } while (cursor&gt;0);
+      this.s[i]=s;
+    }
+  },
+  
+  //Returns a list of matched elements below a given root.
+  get:function(root) {
+    this.explore(root || document,this.i==(this.s.length-1));
+    return this.r;
+  },
+  
+  //Recursive function where the actual search is being done.
+  // elt: current root element
+  // leaf: boolean, are we in a leaf of the search tree?
+  explore:function(elt,leaf) {
+    
+    //Parsed selector
+    var s=this.s[this.i];
+    
+    //Results
+    var r=[];
+    
+    //Selector has an ID, use it!
+    if (s[1]) {
+    
+      e=$(s[1]);      
+      if (e &amp;&amp; (s[0]==&quot;*&quot; || e.tagName==s[0]) &amp;&amp; e.childOf(elt)) {
+       r=[e];
+      }
+      
+    //Selector has no ID, search by tagname.
+    } else {
+      r=$A(elt.getElementsByTagName(s[0]));
+    }
+    
+    
+    //Filter the results by classnames. 
+    //Todo: by attributes too?
+    //Sidenote: The performance hit is often here.
+    
+    //Single className : that's fast!
+    if (s[2].length==1) { //single classname
+      r=r.findAll(function(o) {
+      
+        //If the element has only one classname too, the test is simple!
+        if (o.className.indexOf(&quot; &quot;)==-1) {
+          return o.className==s[2][0];
+        } else {
+          return o.className.split(/\s+/).include(s[2][0]);
+        }
+      });
+    
+    //Multipe classNames, a bit slower.
+    } else if (s[2].length&gt;0) {
+      r=r.findAll(function(o) {
+      
+        //If the elemtn has only one classname, we can drop it.
+        if (o.className.indexOf(&quot; &quot;)==-1) { 
+          return false;
+        } else {
+        
+          //Check that all required classnames are present.
+          var q=o.className.split(/\s+/);
+          return s[2].all(function(c) {
+            return q.include(c);
+          });
+        }
+      });
+    }
+    
+    
+    //Append the results if we're in a leaf
+    if (leaf) {
+      this.r=this.r.concat(r);
+      
+    //Continue exploring the tree otherwise
+    } else {
+      ++this.i;
+      r.each(function(o) {
+        this.explore(o,this.i==(this.s.length-1));
+      }.bind(this));
+    }
+  }
+  
+}
+
+
+//Overwrite the $$ function.
+var $$old=$$;
+
+var $$=function(a,b) {
+
+  //expression is too complicated, forward the call to prototype's function!
+  if (b || a.indexOf(&quot;[&quot;)&gt;=0) return $$old.apply(this,arguments);
+  
+  //Otherwise use our addon!
+  return new SelectorLiteAddon(a.split(/\s+/)).get();
 }
-
-
-//Overwrite the $$ function.
-var $$old=$$;
-
-var $$=function(a,b) {
-
-  //expression is too complicated, forward the call to prototype's function!
-  if (b || a.indexOf(&quot;[&quot;)&gt;=0) return $$old.apply(this,arguments);
-  
-  //Otherwise use our addon!
-  return new SelectorLiteAddon(a.split(/\s+/)).get();
-}</diff>
      <filename>public/javascripts/selector-addon-v1.js</filename>
    </modified>
    <modified>
      <diff>@@ -222,86 +222,86 @@ Behavior = {
 };
 
 
-// Original code by Sylvian Zimmer
-// http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/
-// Optimises execution speed of the $$ function.  Rewritten for readability by Justin Palmer.
-// 
-// Turn off optimisation with LowPro.optimize$$ = false;
-LowPro.SelectorLite = Class.create();
-LowPro.SelectorLite.prototype = {
-  initialize: function(selectors) {
-    this.results = []; 
-    this.selectors = []; 
-    this.index = 0;
-    
-    for(var i = selectors.length -1; i &gt;= 0; i--) {
-      var params = { tag: '*', id: null, classes: [] };
-      var selector = selectors[i];
-      var needle = selector.length - 1;
-      
-      do {
-        var id = selector.lastIndexOf(&quot;#&quot;);
-        var klass = selector.lastIndexOf(&quot;.&quot;);
-        var cursor = Math.max(id, klass);
-        
-        if(cursor == -1) params.tag = selector.toUpperCase();
-        else if(id == -1 || klass == cursor) params.classes.push(selector.substring(klass + 1))
-        else if(!params.id) params.id = selector.substring(id + 1);
-        
-        selector = selector.substring(0, cursor);
-      } while(cursor &gt; 0);
-      this.selectors[i] = params;
-    }
-    
-  },
-  
-  get: function(root) {
-    this.findElements(root || document, this.index == (this.selectors.length - 1));
-    return this.results;
-  },
-  
-  findElements: function(parent, descendant) {
-    var selector = this.selectors[this.index], results = [], element;
-    if(selector.id) {
-      element = $(selector.id);
-      if(element &amp;&amp; (selector.tag == '*' || element.tagName == selector.tag) &amp;&amp; 
-        (element.childOf(parent))) {
-        results = [element];
-      }
-    } else {
-      results = $A(parent.getElementsByTagName(selector.tag));
-    }
-    
-    if(selector.classes.length == 1) {
-      results = results.select(function(target) {
-       return $(target).hasClassName(selector.classes[0]);
-      });
-    } else if(selector.classes.length &gt; 1) {
-      results = results.select(function(target) {
-        var klasses = $(target).classNames();
-        return selector.classes.all(function(klass) {
-          return klasses.include(klass);
-        });
-      });
-    }
-    
-    if(descendant) {
-      this.results = this.results.concat(results);
-    } else {
-      ++this.index;
-      results.each(function(target) {
-        this.findElements(target, this.index == (this.selectors.length - 1));
-      }.bind(this));
-    }
-  }
-}
-
-LowPro.$$old=$$;
-LowPro.optimize$$ = true;
-
-function $$(a,b) {
-  if (LowPro.optimize$$ == false || b || a.indexOf(&quot;[&quot;)&gt;=0) 
-    return LowPro.$$old.apply(this, arguments);
-  return new LowPro.SelectorLite(a.split(/\s+/)).get();
+// Original code by Sylvian Zimmer
+// http://www.sylvainzimmer.com/index.php/archives/2006/06/25/speeding-up-prototypes-selector/
+// Optimises execution speed of the $$ function.  Rewritten for readability by Justin Palmer.
+// 
+// Turn off optimisation with LowPro.optimize$$ = false;
+LowPro.SelectorLite = Class.create();
+LowPro.SelectorLite.prototype = {
+  initialize: function(selectors) {
+    this.results = []; 
+    this.selectors = []; 
+    this.index = 0;
+    
+    for(var i = selectors.length -1; i &gt;= 0; i--) {
+      var params = { tag: '*', id: null, classes: [] };
+      var selector = selectors[i];
+      var needle = selector.length - 1;
+      
+      do {
+        var id = selector.lastIndexOf(&quot;#&quot;);
+        var klass = selector.lastIndexOf(&quot;.&quot;);
+        var cursor = Math.max(id, klass);
+        
+        if(cursor == -1) params.tag = selector.toUpperCase();
+        else if(id == -1 || klass == cursor) params.classes.push(selector.substring(klass + 1))
+        else if(!params.id) params.id = selector.substring(id + 1);
+        
+        selector = selector.substring(0, cursor);
+      } while(cursor &gt; 0);
+      this.selectors[i] = params;
+    }
+    
+  },
+  
+  get: function(root) {
+    this.findElements(root || document, this.index == (this.selectors.length - 1));
+    return this.results;
+  },
+  
+  findElements: function(parent, descendant) {
+    var selector = this.selectors[this.index], results = [], element;
+    if(selector.id) {
+      element = $(selector.id);
+      if(element &amp;&amp; (selector.tag == '*' || element.tagName == selector.tag) &amp;&amp; 
+        (element.childOf(parent))) {
+        results = [element];
+      }
+    } else {
+      results = $A(parent.getElementsByTagName(selector.tag));
+    }
+    
+    if(selector.classes.length == 1) {
+      results = results.select(function(target) {
+       return $(target).hasClassName(selector.classes[0]);
+      });
+    } else if(selector.classes.length &gt; 1) {
+      results = results.select(function(target) {
+        var klasses = $(target).classNames();
+        return selector.classes.all(function(klass) {
+          return klasses.include(klass);
+        });
+      });
+    }
+    
+    if(descendant) {
+      this.results = this.results.concat(results);
+    } else {
+      ++this.index;
+      results.each(function(target) {
+        this.findElements(target, this.index == (this.selectors.length - 1));
+      }.bind(this));
+    }
+  }
+}
+
+LowPro.$$old=$$;
+LowPro.optimize$$ = true;
+
+function $$(a,b) {
+  if (LowPro.optimize$$ == false || b || a.indexOf(&quot;[&quot;)&gt;=0) 
+    return LowPro.$$old.apply(this, arguments);
+  return new LowPro.SelectorLite(a.split(/\s+/)).get();
 }
 </diff>
      <filename>vendor/plugins/unobtrusive_javascript/assets/javascripts/lowpro.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>291a364b0d6c924e26fa2077164b06410490b3b8</id>
    </parent>
  </parents>
  <author>
    <name>Reinier Balt</name>
    <email>lrbalt@gmail.com</email>
  </author>
  <url>http://github.com/bsag/tracks/commit/a18fab8bf4c40cd5c7da36985baee10269e44fd6</url>
  <id>a18fab8bf4c40cd5c7da36985baee10269e44fd6</id>
  <committed-date>2008-07-23T14:42:39-07:00</committed-date>
  <authored-date>2008-07-23T14:42:39-07:00</authored-date>
  <message>update lowpro and selector according to last commit</message>
  <tree>e4d1ccf87b7c4cdd4e8e2114da3ee784d156bfcb</tree>
  <committer>
    <name>Reinier Balt</name>
    <email>lrbalt@gmail.com</email>
  </committer>
</commit>
