   []
   (nm "div.toolbar" [(nm "button.pure-button" {:onclick #(toggle-serialization)} "Export")]))
 
-(defn ctrl [])
+(defn ctrl []
+  "https://api.github.com/repos/jussiarpalahti/repodoc/commits"
+  (let [username (route_param "user")
+        repository (route_param "repository")]))
 
 (defn viewer
   [ctrl]


(defn fetch_repositories
  [username cb]
  (println "hmm" username)
  (let [repourl (str "https://api.github.com/users/" username "/repos")]
    (request {:url repourl}  #(cb %))))


    [m]
    [goog.i18n.DateTimeFormat :as dtf]
    [repodoc.data :refer [REPO FILETYPES]]
    [repodoc.fathom :refer [nm request route_param]]
    [repodoc.utils :refer [serialize-md serialize-edn serialize-html serialize format_time]]
    [repodoc.editor :as e]
    [devtools.core :as devtools]
