src/phantom_script.js
function argNames(str) {

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

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

  return [matches[1], matches[2]];
}
function argNames(str) {

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

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

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