document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. new Queue()
  2.     .read(\'foo.js\')
  3.     .log(\'Parallel Tasks\')
  4.     .tasks({
  5.         read:     {task: [\'read\', [\'bar.js\', \'baz.js\']]},
  6.         combine:  {requires: \'read\', task: \'concat\'},
  7.         minify:   {requires: \'combine\', task: \'jsminify\'},
  8.         print:    {requires: \'minify\', task: \'inspect\'},
  9.         parallel: {task: [\'log\', "Hello Gear.js world!"]}, // Run parallel to read
  10.         join:     {requires: [\'parallel\', \'print\']} // Joined data is passed to next task in queue
  11.      })
  12.      .inspect()
  13.      .run();
');