Commit.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 12 Sep 2011 10:19:09 +0000 (18:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 12 Sep 2011 10:19:09 +0000 (18:19 +0800)
Commit.js

index dc43f20..bc52319 100644 (file)
--- a/Commit.js
+++ b/Commit.js
@@ -52,12 +52,12 @@ Commit=new XObject({
         this.release = c.release;
         this.rev = c.rev;
         
-            
+        this.repo = c.repo;
     
         this.get('/commitDate').el.set_text(c.changed);
         this.get('/commitAuthor').el.set_text(c.author);
         
-        this.get('/commitPatch').load(c.files);
+        this.get('/commitPatch').showDiff(c.files);
         
         this.el.show_all();