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
$('.stream-items').on('click', '.tweet', function(e) { e.stopPropagation(); var url = 'https://twitter.com/'+$(this).data('permalink-path'); window.open(url); }) |
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
<head> | |
<style> | |
svg { | |
background-color: #ccc; | |
} | |
</style> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.0.1/d3.v3.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.3/lodash.min.js"></script> | |
</head> | |
<body> |
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
function addSlashes( str ) { | |
return (str+'').replace(/([\\"'])/g, "\\$1").replace(/\0/g, "\\0"); | |
} | |
var spawn = require('child_process').spawn; | |
var growl = require('growl'); | |
var coffee = './node_modules/.bin/coffee'; | |
var coffee_tasks = []; | |
var handlebars_tasks = []; | |
coffee_tasks.push(spawn(coffee, ['-cwo', 'static/js', 'static/coffee'])); | |
coffee_tasks.push(spawn(coffee, ['-cwo', 'test', 'test/src'])); |