The good old PhantomJS times are over. The project is not maintained anymore and it is recommended to switch over to Chrome headless. Just run a local Selenium standalone server:
$ java -jar Sites/selenium-server-standalone-3.4.0.jar
/*global Firebase, google, $, GeoFire */ | |
(function () { | |
"use strict"; | |
var map, previousInfowindow, ref, center, radiusInKm, | |
markers = {}, | |
lines = {}; | |
radiusInKm = 0.5; | |
ref = new Firebase("https://publicdata-parking.firebaseio.com/san_francisco"); | |
center = [37.78565219391501, -122.4058404513338]; |
Here's how this works:
git_hooks/
directory in your project, with these two files (plus other hooks if you want, written in a similar style)."npm"
to your devDependencies
in package.json
, so that the pre-commit
hook can do its magic.test
and lint
scripts to your package.json
, e.g. "scripts": {
"test": "mocha",
"lint": "jshint ./lib --show-non-errors"
Originally: | |
https://gist.github.com/7565976a89d5da1511ce | |
Hi Donald (and Martin), | |
Thanks for pinging me; it's nice to know Typesafe is keeping tabs on this, and I | |
appreciate the tone. This is a Yegge-long response, but given that you and | |
Martin are the two people best-situated to do anything about this, I'd rather | |
err on the side of giving you too much to think about. I realize I'm being very | |
critical of something in which you've invested a great deal (both financially |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
</head> | |
<body> | |
<div id="chart"></div> | |
<script type="text/javascript"> | |
var w = 800, h = 500; |