Last active
August 29, 2015 14:17
-
-
Save tonyfast/2f14d7b4cff2898747b6 to your computer and use it in GitHub Desktop.
Requests plate for d3.ml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
display: | |
- template: :d3templates.gist-list | |
gist-list: | |
- append: $div.row | |
- selectAll: div.col | |
- requests: | |
gist.json: https://api.github.com/users/tonyfast/gists | |
call: | |
- data: :d3.requests.gist | |
- call: | |
- enter: | |
- append: $div.col.s12.m6 | |
- each: | |
- template: :d3templates.card | |
card-title: | |
- call: | |
- append: $span.card-title | |
- append: a | |
- call: | |
- text: '@description' | |
- attr: | |
href: '@html_url' | |
- call: | |
- append: p | |
card-content: | |
- append: $div.card-content.white-text | |
- call: | |
- template: ':d3templates.card-title' | |
card-action: | |
- append: $div.card-action | |
- selectAll: a | |
- data: | |
- 1 | |
- 2 | |
- call: | |
- enter: | |
- append: a | |
- each: | |
- text: ':' | |
- attr: | |
href: ':' | |
card: | |
- append: $div.card.blue.darken-1 | |
- call: | |
- call: | |
- template: :d3templates.card-content | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment