This file contains 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
/* | |
d3.phylogram.js | |
Wrapper around a d3-based phylogram (tree where branch lengths are scaled) | |
Also includes a radial dendrogram visualization (branch lengths not scaled) | |
along with some helper methods for building angled-branch trees. | |
d3.phylogram.build(selector, nodes, options) | |
Creates a phylogram. | |
Arguments: | |
selector: selector of an element that will contain the SVG |
This file contains 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
/* REPO UNWATCHER | |
* | |
* This unwatches any repo that you don't specify. | |
* It must be run from the console while you are at https://github.com/watching | |
* | |
* *No need to edit any code - the instructions will prompt you to list out the repos you'd like to keep watching!* | |
*/ | |
var repo; | |
var repos = []; |
This file contains 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
pairs = ( obj ) -> | |
arr = [] | |
for own key, val of obj when key isnt "id" | |
arr.push "#{ key }=#{ val}" | |
arr.join "," | |
makeORMClass = ( table ) -> | |
# CoffeeScript syntactic sugar for class creation. | |
class Model |
NewerOlder