mirror of https://github.com/vitalif/phantomjs
Use YAML-Style array creation in follow.coffee.
parent
38a6638d2c
commit
d3845e94ab
|
@ -1,25 +1,27 @@
|
|||
# List following and followers from several accounts
|
||||
|
||||
if phantom.state.length == 0
|
||||
phantom.state = ['SenchaInc',
|
||||
'aconran',
|
||||
'ariyahidayat',
|
||||
'darrellmeyer',
|
||||
'DavidKaneda',
|
||||
'DmitryBaranovsk',
|
||||
'donovanerba',
|
||||
'edspencer',
|
||||
'helder_correia',
|
||||
'jamespearce',
|
||||
'jamieavins',
|
||||
'jarrednicholls',
|
||||
'jayrobinson',
|
||||
'lojjic',
|
||||
'mmullany',
|
||||
'philogb',
|
||||
'rdougan',
|
||||
'tmaintz',
|
||||
'whereisthysting'].join ':'
|
||||
phantom.state = [
|
||||
'SenchaInc'
|
||||
'aconran'
|
||||
'ariyahidayat'
|
||||
'darrellmeyer'
|
||||
'DavidKaneda'
|
||||
'DmitryBaranovsk'
|
||||
'donovanerba'
|
||||
'edspencer'
|
||||
'helder_correia'
|
||||
'jamespearce'
|
||||
'jamieavins'
|
||||
'jarrednicholls'
|
||||
'jayrobinson'
|
||||
'lojjic'
|
||||
'mmullany'
|
||||
'philogb'
|
||||
'rdougan'
|
||||
'tmaintz'
|
||||
'whereisthysting'
|
||||
].join ':'
|
||||
phantom.open 'http://mobile.twitter.com/SenchaInc'
|
||||
else
|
||||
users = phantom.state.split ':'
|
||||
|
|
Loading…
Reference in New Issue