Skip to content

Instantly share code, notes, and snippets.

View terrylwood's full-sized avatar

Terry Wood terrylwood

  • The Little Dane, Inc.
  • littledane.com
View GitHub Profile
@terrylwood
terrylwood / jsdomTest_modules_config.js
Created May 26, 2012 19:16
searchable js content: YUI modules config loads external modules
(function () {
"use strict";
// this function is strict...
var jsdom = require('jsdom'),
YUI = require('yui').YUI,
dom,
document,
window,
http = require('http'),
@terrylwood
terrylwood / jsdomTest_YUI_get.js
Created May 25, 2012 15:15
searchable js content
(function () {
"use strict";
// this function is strict...
var jsdom = require('jsdom'),
YUI = require('yui').YUI,
dom,
document,
window,
http = require('http'),
get_html = function (response) {