fixed inaccurate example
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -6,7 +6,7 @@ new phantom.Casper({ | ... | @@ -6,7 +6,7 @@ new phantom.Casper({ |
6 | verbose: true | 6 | verbose: true |
7 | }).start('http://www.google.fr/', function(self) { | 7 | }).start('http://www.google.fr/', function(self) { |
8 | // download the google logo image as base64 | 8 | // download the google logo image as base64 |
9 | logo = self.base64encode('http://www.google.fr/images/srpr/logo3w.png', 'google_logo.png'); | 9 | logo = self.base64encode('http://www.google.fr/images/srpr/logo3w.png'); |
10 | }).run(function(self) { | 10 | }).run(function(self) { |
11 | self.echo(logo).exit(); | 11 | self.echo(logo).exit(); |
12 | }); | 12 | }); | ... | ... |
-
Please register or sign in to post a comment