Created
January 4, 2011 16:40
-
-
Save mlins/765003 to your computer and use it in GitHub Desktop.
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
Zombie: GET http://backbone-rails3.heroku.com/#addresses | |
Zombie: GET http://backbone-rails3.heroku.com/#addresses => 200 | |
Zombie: GET /assets/application.js?1294159060 | |
Zombie: GET /assets/application.js?1294159060 => 200 | |
Zombie: Running script from /assets/application.js | |
$ is not defined | |
Zombie: Running script from http://backbone-rails3.heroku.com/#addresses:undefined:undefined<script> | |
Zombie: Running script from http://backbone-rails3.heroku.com/#addresses:undefined:undefined<script> | |
The page: <!DOCTYPE html> | |
<html> | |
<head> | |
<title>Backbone/Rails3 Stack</title> | |
<link type="text/css" rel="stylesheet" media="all" href="/assets/application.css?1294159060"> | |
<script type="text/javascript" src="/assets/application.js?1294159060"></script> | |
<meta content="authenticity_token" name="csrf-param"> | |
<meta content="RBkoHUnNGu2yut0bxaoI92MzLjYtnarvdgzOWeJluQU=" name="csrf-token"> | |
</head> | |
<body class="content"> | |
</body> | |
</html> |
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
var zombie = require("zombie"); | |
zombie.visit("http://backbone-rails3.heroku.com/#addresses", { debug: true }, | |
function(err, browser) { | |
if (err) | |
console.log(err.stack); | |
else | |
console.log("The page:", browser.html()); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment