You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
304 B
Markdown

# PhantomJS
```javascript
var phantom = phantom || {exit: function () {}};
window._ = require('../../vendor/underscore/underscore');
phantom.injectJs('../../vendor/backbone/backbone.js');
console.log(_.toString());
console.log(Backbone.View.toString());
phantom.exit();
//module.exports = Backbone;
```