I hereby claim:
- I am larquin on github.
- I am larquin (https://keybase.io/larquin) on keybase.
- I have a public key whose fingerprint is 6704 45E2 6943 E896 D5CB 04FA 2877 8551 3B0B F93F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Object::delegates = (methods, to) -> | |
methods.forEach (method) => | |
this::[method] = (args...) -> | |
@[to][method].apply(this, args) | |
class AjaxService | |
start: (target) -> | |
console.log("STARTING AJAX AT #{target}") | |
success: (message) -> | |
console.log("YOU DEED IT #{message}") |
nv.addGraph(function() { | |
var chart = nv.models.stackedAreaChart() | |
.x(function(d) { return d[0]}) | |
.y(function(d) { return d[1]}) | |
// axis stuff | |
chart.xAxis //... | |
chart.yAxis //... | |
function override_clicks() { | |
// if you have a stacked area chart, the overrides you want to dispatch are as follows | |
chart. stacked.dispatch.on("areaClick", function(hadouken) { console.log(hadouken);}) // hadouken will give you the element you clicked on |
(ns test.ws | |
(:use | |
lamina.core | |
compojure.core | |
compojure.response | |
aleph.core | |
aleph.http | |
aleph.formats | |
hiccup.core | |
ring.middleware.reload |