         url: "https://api.github.com/gists/#{gistid}"
         type: 'GET'
         dataType: 'jsonp').success((gistdata) ->
-        content = gistdata.data.files[filename].content
-        console.log "content???", content
+        specs = JSON.parse(gistdata.data.files[filename].content)
+        $blab.sheet = []
+        $blab.table = []
+
+        $blab.sheet[spec.id] = new Sheet spec for spec in specs.sheet
+        $blab.table[spec.id] = new Table spec for spec in specs.table
+        #$blab.sheet[spec.id] = new Sheet spec for spec in specs.sheet
+        #$blab.sheet[spec.id] = new Sheet spec for spec in specs.sheet
+
+        console.log "sheet A???", $blab.sheet["A"]
+        console.log "table A???", $blab.table["A"]
+
         compute()
         return
     ).error (e) ->

        return
    return

loadgist("f673df3f600fdeb17608", "sheet.json");





$blab.markdown =
    md1: markdn()

###

# user code


