src/phantom_script.js
function argName(str) {

  // Matching
  var matches = str.match(regexes.singleArgMatch);

  if (!matches)
    throw Error('sandcrawler.phantom_script.arguments: not enough arguments to compile a correct phantom scraper.');

  return [matches[1]];
}
function argName(str) {

  // Matching
  var matches = str.match(regexes.singleArgMatch);

  if (!matches)
    throw Error('sandcrawler.phantom_script.arguments: not enough arguments to compile a correct phantom scraper.');

  return [matches[1]];
}
function argName ( str ) { // Matching var matches = str . match ( regexes . singleArgMatch ) ; if ( ! matches ) throw Error ( 'sandcrawler.phantom_script.arguments: not enough arguments to compile a correct phantom scraper.' ) ; return [ matches [ 1 ] ] ; }
Retrieve the first argument of the given stringified function
Retrieve the first argument of the given stringified function