Permalink
Browse files

minor readme fix

  • Loading branch information...
1 parent e256e9c commit 9119389122660ed117c29fcf66e941aade994955 @jdonaldson committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
2 Readme.md
@@ -92,7 +92,7 @@ import js.phantomjs.PhantomTools;
class PhantomTest{
static function main(){
- if (!PhantomTools.inPhantom()) return; // exit if not in phantom scope
+ if (PhantomTools.noPhantom()) return; // exit if not in phantom scope
var page = WebPage.create();
page.open("some_arbitrary_webpage.html", function(status){

0 comments on commit 9119389

Please sign in to comment.