Use YAML-Style array creation in follow.coffee.

1.2
rgieseke 2011-04-25 18:28:26 +02:00
parent 38a6638d2c
commit d3845e94ab
1 changed files with 21 additions and 19 deletions

View File

@ -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 ':'