Permalink
Browse files

removed old code from jquery example

  • Loading branch information...
1 parent 576aff8 commit 82bccb818c264b09ef7dd79565267ad24d8f98ee @tmpvar committed Aug 12, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 example/jquery/run.js
@@ -1,8 +1,6 @@
var sys = require("sys"),
jsdom = require(__dirname + "/../../lib/jsdom"),
- window = jsdom.jsdom().createWindow(),
- head = window.document.getElementsByTagName('head')[0],
- jQueryTag = window.document.createElement("script");
+ window = jsdom.jsdom().createWindow();
// this also works:
// jQueryTag.src = "http://code.jquery.com/jquery-1.4.2.js";

0 comments on commit 82bccb8

Please sign in to comment.