Skip to content

Instantly share code, notes, and snippets.

/*
original : https://gist.github.com/BinaryMuse/2378993
Changes :
-Shares an instance of phantomJS for all requests instead of creating a new one for each
-Sends the created file as a response
-Uses good old JavaScript
-Coffee version below
*/
var phantom = require('phantom'),
@frago12
frago12 / jquery.ba-tinypubsub.js
Created September 28, 2011 05:14 — forked from cowboy/HEY-YOU.md
jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.
/*!
* jQuery Tiny Pub/Sub - v0.6 - 1/10/2011
* http://benalman.com/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function($){