Use the new Twitter handle for the examples.

http://code.google.com/p/phantomjs/issues/detail?id=609
1.7
Ariya Hidayat 2012-07-15 02:13:35 -07:00
parent 8d0a0b28ed
commit 281d291cfb
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Get twitter status for given account (or for the default one, "HeadlessPhantom")
# Get twitter status for given account (or for the default one, "PhantomJS")
page = require('webpage').create()
system = require 'system'
twitterId = 'HeadlessPhantom' #< default value
twitterId = 'PhantomJS' #< default value
# Route "console.log()" calls from within the Page context to the main Phantom context (i.e. current "this")
page.onConsoleMessage = (msg) ->

View File

@ -1,8 +1,8 @@
// Get twitter status for given account (or for the default one, "HeadlessPhantom")
// Get twitter status for given account (or for the default one, "PhantomJS")
var page = require('webpage').create(),
system = require('system'),
twitterId = "HeadlessPhantom"; //< default value
twitterId = "PhantomJS"; //< default value
// Route "console.log()" calls from within the Page context to the main Phantom context (i.e. current "this")
page.onConsoleMessage = function(msg) {