Further changes for the Use cases on the live site.
[yaffs-website] / node_modules / phantomjs-prebuilt / lib / phantom / examples / arguments.js
1 "use strict";
2 var system = require('system');
3 if (system.args.length === 1) {
4     console.log('Try to pass some args when invoking this script!');
5 } else {
6     system.args.forEach(function (arg, i) {
7             console.log(i + ': ' + arg);
8     });
9 }
10 phantom.exit();