This file contains hidden or 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
| /* | |
| 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'), |
This file contains hidden or 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
| /*! | |
| * 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($){ |