<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>LICENSE</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -25,7 +25,7 @@ sc.helpers.Base64 = {
 		var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
 		var i = 0;
 
-		input = Base64._utf8_encode(input);
+		input = sc.helpers.Base64._utf8_encode(input);
 
 		while (i &lt; input.length) {
 
@@ -84,7 +84,7 @@ sc.helpers.Base64 = {
 
 		}
 
-		output = Base64._utf8_decode(output);
+		output = sc.helpers.Base64._utf8_decode(output);
 
 		return output;
 </diff>
      <filename>helpers/hash.js</filename>
    </modified>
    <modified>
      <diff>@@ -532,7 +532,7 @@ sc.helpers.Utf8 = {
 **/
  
 sc.helpers.trim = function (str, chars) {
-	return ltrim(rtrim(str, chars), chars);
+	return sc.helpers.ltrim(sc.helpers.rtrim(str, chars), chars);
 }
  
 sc.helpers.ltrim = function (str, chars) {</diff>
      <filename>helpers/string.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,57 @@
 /**
+ * SPAZCORE
+ * version 0.1
+ * 2009-08-05
+ * 
+ * License
+ * 
+ * Copyright (c) 2008-2009, Edward Finkler, Funkatron Productions
+ * 
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * 
+ *         Redistributions of source code must retain the above copyright
+ *         notice, this list of conditions and the following disclaimer.
+ * 
+ *         Redistributions in binary form must reproduce the above
+ *         copyright notice, this list of conditions and the following
+ *         disclaimer in the documentation and/or other materials provided
+ *         with the distribution.
+ * 
+ *         Neither the name of Edward Finkler, Funkatron Productions nor
+ *         the names of its contributors may be used to endorse or promote
+ *         products derived from this software without specific prior written
+ *         permission.
+ * 
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * 
+ * 
+ * SpazCore includes code from other software projects. Their licenses follow:
+ * 
+ * date.js
+ * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
+ * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
+ * 
+ * webtoolkit.info (hash libs, trim funcs, utf8 encoder/decoder)
+ * http://www.webtoolkit.info/
+ * As long as you leave the copyright notice of the original script, or link
+ * back to this website, you can use any of the content published on this
+ * website free of charge for any use: commercial or noncommercial.
+ */
+ 
+/**
  * 
  * @namespace root namespace for SpazCore
  */</diff>
      <filename>libs/spazcore.js</filename>
    </modified>
    <modified>
      <diff>@@ -1064,7 +1064,7 @@ SpazTwit.prototype._getTimeline = function(opts) {
         'beforeSend':function(xhr){
 			sc.helpers.dump(&quot;beforesend&quot;);
 			if (opts.username &amp;&amp; opts.password) {
-				xhr.setRequestHeader(&quot;Authorization&quot;, &quot;Basic &quot; + Base64.encode(opts.username + &quot;:&quot; + opts.password));
+				xhr.setRequestHeader(&quot;Authorization&quot;, &quot;Basic &quot; + sc.helpers.Base64.encode(opts.username + &quot;:&quot; + opts.password));
 			}
         },
         'type':&quot;GET&quot;,
@@ -1355,7 +1355,7 @@ SpazTwit.prototype._callMethod = function(opts) {
 	    'beforeSend':function(xhr){
 			sc.helpers.dump(opts.url + ' beforesend');
 			if (opts.username &amp;&amp; opts.password) {
-				xhr.setRequestHeader(&quot;Authorization&quot;, &quot;Basic &quot; + Base64.encode(opts.username + &quot;:&quot; + opts.password));
+				xhr.setRequestHeader(&quot;Authorization&quot;, &quot;Basic &quot; + sc.helpers.Base64.encode(opts.username + &quot;:&quot; + opts.password));
 			}
 	    },
 	    'type': method,</diff>
      <filename>libs/spaztwit.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d4d6316398861eeb34322c0216fdfd59860a1465</id>
    </parent>
  </parents>
  <author>
    <name>Ed Finkler</name>
    <email>funkatron@gmail.com</email>
  </author>
  <url>http://github.com/funkatron/spazcore/commit/c40be5733058defdf71eb699a21040d4f470f496</url>
  <id>c40be5733058defdf71eb699a21040d4f470f496</id>
  <committed-date>2009-08-05T11:59:10-07:00</committed-date>
  <authored-date>2009-08-05T11:59:10-07:00</authored-date>
  <message>- put header and license info in libs/spazcore.js. This is version 0.1!
- fixed some bugs with new hash libs where func calls were broken by renaming
- Added a LICENSE file</message>
  <tree>8e423286cacc5ec6161f0098db7256139eae7000</tree>
  <committer>
    <name>Ed Finkler</name>
    <email>funkatron@gmail.com</email>
  </committer>
</commit>
