Sha256: 905701697cde536ea54ce4dd6274082b9f908a706349a6469ab0dcc91ac42326

Contents?: true

Size: 173 Bytes

Versions: 2

Compression:

Stored size: 173 Bytes

Contents

if phantom.args.length is 0
  console.log 'Try to pass some args when invoking this script!'
else
  for arg, i in phantom.args
    console.log i + ': ' + arg
phantom.exit()

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phantomjs.rb-0.0.2 vendor/phantomjs-1.4.1_OSX/examples/arguments.coffee
phantomjs.rb-0.0.1 vendor/phantomjs-1.4.1_OSX/examples/arguments.coffee