Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 11 lines (8 sloc) 0.275 kB
461956e @meritt Add another few examples
authored
1 ###
2 Retrieve public gist
3 ###
4
81d5b4b @meritt Update how module will be export
authored
5 Gisty = require('./../lib/gisty')
461956e @meritt Add another few examples
authored
6
7 gist = new Gisty username: 'meritt'
8
9 gist.fetch '1111422', (error, gist) ->
10 throw new Error error if error
11 console.log "#{filename}\n--------------\n\n#{file.content}\n\n" for filename, file of gist.files
Something went wrong with that request. Please try again.