Skip to content

Instantly share code, notes, and snippets.

View simple10's full-sized avatar
💭
Working like a madman on Level Up & Muxxi

Joe Johnston simple10

💭
Working like a madman on Level Up & Muxxi
View GitHub Profile
@simple10
simple10 / app.coffee
Last active December 14, 2015 00:59 — forked from harlantwood/circle-packing.coffee
Github D3 Visualizer
root = exports ? this
class root.App
constructor: (repo) ->
@github = new App.Github
@d3 = new App.D3
@github.loadRepo(repo, (data) =>
data = @github.parseForD3(data)
@d3.renderCirclePack(data)
@simple10
simple10 / backbone.meta.js.coffee
Created December 25, 2012 00:30
Backbone meta data plugin
#
# Add meta data support to Model and Collection
# Allows server to include additional meta data that gets automatically parsed and stashed in [model|collection].meta
#
# Usage:
# Include this file after backbone.js
# Set data_key on Model or Collection
#
# If data_key is not set, original parse method will be invoked.
#